-
Notifications
You must be signed in to change notification settings - Fork 126
Migrations #12
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
Comments
I tried integrating the migrator tests, and it seems for me to be quite complicated. Unfortunately this wasn't that helpfull as nearly all migrator tests rely on the fact that each test runs in transaction. I can either truncate the @josevalim @ericmj thoughts? |
You need to set |
That is not the problem. The problem is with tests themselves. Each of them assumes it starts at a certain point - with only one record in
in the I changed the tests accordingly, but I'm not sure that's the way to go: |
Maybe it is easier to run a dummy migration in the test helper too? On Friday, July 3, 2015, Michał Muskała [email protected] wrote:
José Valimwww.plataformatec.com.br |
This commit adds support for migrations 5d654b3 It's on a branch, because it's using my fork of ecto with the changes I mentioned earlier. I'm running the migrations provided with integration suite (as I need to support table ddl anyway for There are two ways to handle
To handle the
Is there some other way, or is the other way I mentioned better? |
As discussed with @josevalim we could support some migrations, especially for adding and removing indexes.
The text was updated successfully, but these errors were encountered: