DATABASE MIGRATION NOTES:
- The migration files are executed ascending;
- You don't need to remove or modify existing migration files;
- Name your file with prefix, greater than existing migration files;
- Make sure "up" migration syntax are executed from top table (when there's contain foreign key);
- Make sure "down" migration syntax are executed from bottom table (when there's contain foreign key);
- Drop foreign key before drop the table
DATABASE SEEDER NOTES:
- Name your seeder file with "EcosystemSeeder.php";
- You can add dummy data seeder to separate installation version;
- Add suffix number to represent installation version number after underscore;
- Just like "EcosystemSeeder_2.php" and "EcosystemSeeder_3.php";
|