geoff-maddock / events-tracker

CRM and calendar to track events, weekly and monthly series, promoters, artists, producers, djs, venues and other entities.
https://arcane.city
MIT License
16 stars 6 forks source link

Migrations - re-initialize ahead of v1.0 release #115

Closed geoff-maddock closed 3 years ago

geoff-maddock commented 7 years ago

Re-initialize migrations for the 1.0 release and create a process to re-sync them until that release happens.

If I need to change something before 1.0, re-run the above.

There is a "squash migrations" feature in laravel 8. https://laravel.com/docs/8.x/migrations

Relates tp #377

geoff-maddock commented 3 years ago

https://laravel.com/docs/8.x/migrations#generating-migrations

php artisan schema:dump

// Dump the current database schema and prune all existing migrations...
php artisan schema:dump --prune