When running ash.gen.resource a second time (for another model) I got an error about the first model and a solution to fix this
For example:
sqlite do
table "the_table"
repo YourApp.Repo
end
the solution is good, but couldn't ash.gen.resource generate this in the first place? Perhaps a new --table flag can be added. Or come up with a table name similar to the name of the resource
When running
ash.gen.resource
a second time (for another model) I got an error about the first model and a solution to fix thisFor example:
the solution is good, but couldn't
ash.gen.resource
generate this in the first place? Perhaps a new--table
flag can be added. Or come up with a table name similar to the name of the resource