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

db:install does not work as expected when migrations contain seed data #403

Open
crh3675 opened this issue May 11, 2011 · 0 comments
Open

Comments

@crh3675
Copy link

crh3675 commented May 11, 2011

A more common usage for migrations when using a BCMS install is to have some data seeded within database migrations. However, this does not work as expected when launching a project using db:install since all migrations run before seed data gets populated.

Amended approach: Create a new seed file and "require" it at the bottom of seeds.rb.

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

No branches or pull requests

1 participant