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

Sprig does not check the Schema Version when loading data #78

Open
tilo opened this issue Feb 6, 2016 · 2 comments
Open

Sprig does not check the Schema Version when loading data #78

tilo opened this issue Feb 6, 2016 · 2 comments
Labels

Comments

@tilo
Copy link

tilo commented Feb 6, 2016

there is a risk to load fixtures which are for the incorrect DB schema version -- resulting in incorrectly loaded tables/data.

See also: Sprig is not using a transaction when loading the data

@ltk
Copy link
Contributor

ltk commented Feb 8, 2016

Thanks @tilo! We'll get started looking into both these issues this week and keep you posted.

  • Lawson

@ltk
Copy link
Contributor

ltk commented Feb 12, 2016

@tilo could you provide a sample of how you could envision a fix working. How would you tie a particular schema version to the set of seed data? Via top-level configuration? Seed file config?

All the solutions I'm coming up with seem like they would create a lot of busywork updating config every time you created a new migration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants