We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sea-orm
seo-orm in general uses a migration based approach, which means that migrations provided by the developer are used to generate the entity code.
seo-orm
entity
Since we are completely based on sea-orm we should follow this approach.
Introduce the following new gen commands:
gen
gen migration
sea-orm-cli migrate generate my_new_table -u
gen model
sea-orm-cli migrate fresh
gen graphql
The text was updated successfully, but these errors were encountered:
No branches or pull requests
General
seo-orm
in general uses a migration based approach, which means that migrations provided by the developer are used to generate theentity
code.Since we are completely based on
sea-orm
we should follow this approach.Proposed change
Introduce the following new
gen
commands:gen migration
: Usesea-orm-cli migrate generate my_new_table -u
programmaticallygen model
: Usesea-orm-cli migrate fresh
programatically (we probably want a dedicated DB for generation and one DB for the user to tests its app)gen graphql
: Use templating of GraphQL, later switch to SeaographyThe text was updated successfully, but these errors were encountered: