We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 627d7c5 commit 39f507bCopy full SHA for 39f507b
lib/migration_generator/migration_generator.ex
@@ -343,9 +343,12 @@ defmodule AshSqlite.MigrationGenerator do
343
if !opts.dev and dev_migrations != [] do
344
if opts.check do
345
Mix.shell().error("""
346
- Generated migrations are from dev mode.
+ Codegen check failed.
347
348
- Generate migrations without `--dev` flag.
+ You have migrations remaining that were generated with the --dev flag.
349
+
350
+ Run `mix ash.codegen <name>` to remove the dev migraitons and replace them
351
+ with production ready migrations.
352
""")
353
354
exit({:shutdown, 1})
0 commit comments