You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would make sense to add an --exit option to Mix.Tasks.AshPostgres.GenerateMigrations? It could then be used in CIs and fail if resources and migrations don't fit together. The big issue I see here is that the CI would have to be changed every time there's a new api.
The text was updated successfully, but these errors were encountered:
Yeah, I think ash_postgres.generate_migrations --check-generated would be a good name for the flag. We'd then just have to add a check after we've generated a full list of "operations" and if there are any, check the --check-generated flag and bail if that is set.
Would make sense to add an
--exit
option toMix.Tasks.AshPostgres.GenerateMigrations
? It could then be used in CIs and fail if resources and migrations don't fit together. The big issue I see here is that the CI would have to be changed every time there's a new api.The text was updated successfully, but these errors were encountered: