-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
When authoring nuxt layers with nuxthub, and creating schemas for multiple db variants. It is "somewhat" cumbersome to generate migrations for the different variants.
Describe the solution you'd like
An arg on the generate command that if specified generates the migrations for the specified db variant.
--variant sqlite
--variant mysql
--variant postgresql
--variant allDescribe alternatives you've considered
Considered creating a bun script that automates the generation by looping through each variant by changing the env variable for the db type:
bun i -> nuxt prepare -> nuxt db generate -> delete node_modules -> loop next variant
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request