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

Ensure project migrations are executed when running specs #12

Open
ellmetha opened this issue Jul 3, 2021 · 0 comments
Open

Ensure project migrations are executed when running specs #12

ellmetha opened this issue Jul 3, 2021 · 0 comments
Labels

Comments

@ellmetha
Copy link
Member

ellmetha commented Jul 3, 2021

Description

Right now, when the specs of a Marten project are executed, the models of the project will be created at the database level once. Later on, if the same database is reused for running specs the same tables will be reused if they already exist. Model tables are created directly without running project migrations ; by default we should probably ensure that project migrations are used unless configured otherwise.

Let's introduce the ability to run project migrations when setuping spec databases while giving the ability to disable this behaviour through the use of a dedicated configuration option.

@ellmetha ellmetha added the To do label Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant