Skip to content

ash.gen.resource with table #107

@flip111

Description

@flip111

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Someday

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions