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 c3d7adb commit f1d2815Copy full SHA for f1d2815
lib/resource_generator/resource_generator.ex
@@ -32,8 +32,9 @@ if Code.ensure_loaded?(Igniter) do
32
else
33
tables
34
end
35
- |> Enum.concat("schema_migrations")
+ |> Enum.concat(["schema_migrations"])
36
end)
37
+ |> IO.inspect()
38
39
specs =
40
repos
lib/resource_generator/spec.ex
@@ -114,6 +114,9 @@ defmodule AshPostgres.ResourceGenerator.Spec do
114
|> add_indexes()
115
|> add_check_constraints()
116
117
+ |> Enum.reject(fn spec ->
118
+ spec.table_name in List.wrap(opts[:skip_tables])
119
+ end)
120
121
122
result
0 commit comments