Uploaded image for project: 'InvoicePlane 2'
  1. InvoicePlane 2
  2. IP2-58

Move setup data seeding from migrations into a seeder

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Selected for Development (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0 Alpha 1
    • Fix Version/s: 2.0.0 Alpha 2
    • Component/s: Setup
    • Labels:
      None

      Description

      The critical data that is seeded into the database while running the setup should be moved from the migration file into a new, separate data seeder, e.g. SetupDataSeeder.

      The call for the seeder (artisan db:seed --class=SetupDataSeeder) needs to be implemented like the migrations to be able to run from the app itself, see the app/Support/Migrations.php file.

        Gliffy Diagrams

          Attachments

            Structure

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  kovah Kovah
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Structure Helper Panel