-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mises à jour techniques relatives à Ecto (#4347)
* mix deps.update ecto_interval ecto_sql ecto postgrex ecto_psql_extras * Add reproduction for the regression * Try to fix migration * Document & clean-up repro script --------- Co-authored-by: Antoine Augusti <antoine.augusti@transport.data.gouv.fr>
- Loading branch information
1 parent
a43c51e
commit 241ac29
Showing
4 changed files
with
22 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Useful script if you need to reproduce migrations issues | ||
# such as https://github.com/etalab/transport-site/issues/4358 | ||
|
||
defmodule Command do | ||
def mix_root_folder, do: Path.join(__DIR__, "..") | ||
def run(cmd), do: {_, 0} = System.shell(cmd, cd: mix_root_folder()) | ||
end | ||
|
||
Command.run("mix ecto.drop") | ||
Command.run("mix ecto.create") | ||
Command.run("mix ecto.migrate") |