Is your feature request related to a problem? Please describe.
I often find myself adding a database table name prefix when I set up projects, since I run a lot of my side projects on one database. Example:
Describe the solution you'd like
When the user selects Drizzle for their ORM, prompt for a prefix. If the user enters nothing, a prefix is not added. If they enter something, create a file like _table.ts in the schema folder which exports a custom mysqlTable/pgTable/sqliteTable function with the prefix.
Additional contexthttps://orm.drizzle.team/docs/goodies#multi-project-schema
Is your feature request related to a problem? Please describe. I often find myself adding a database table name prefix when I set up projects, since I run a lot of my side projects on one database. Example:
Describe the solution you'd like When the user selects Drizzle for their ORM, prompt for a prefix. If the user enters nothing, a prefix is not added. If they enter something, create a file like
_table.ts
in the schema folder which exports a custommysqlTable
/pgTable
/sqliteTable
function with the prefix. Additional context https://orm.drizzle.team/docs/goodies#multi-project-schema