Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate seeders into migrations #230

Merged
merged 14 commits into from
Aug 6, 2024

Conversation

dmohns
Copy link
Member

@dmohns dmohns commented Aug 5, 2024

The goal of this PR is to consolidate all current seeders into migrations.

The way seeders are used is to populate database tables with required items. If users do not run seeders their app installation will be not functional.

However, seeders should be optional (in fact Laravel by default is blocking from running them in prod, unless --force is given).

This also prepares moving DummyData generation into seeders.

@dmohns dmohns changed the title 227 consolidate seeders into migrations Consolidate seeders into migrations Aug 6, 2024
@dmohns dmohns marked this pull request as ready for review August 6, 2024 11:00
@dmohns dmohns merged commit 614e834 into main Aug 6, 2024
10 checks passed
@dmohns dmohns deleted the 227-consolidate-seeders-into-migrations branch August 6, 2024 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant