Initial commit
This commit is contained in:
9
packages/db/schema/_table.ts
Normal file
9
packages/db/schema/_table.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { mysqlTableCreator } from "drizzle-orm/mysql-core";
|
||||
|
||||
/**
|
||||
* This is an example of how to use the multi-project schema feature of Drizzle ORM. Use the same
|
||||
* database instance for multiple projects.
|
||||
*
|
||||
* @see https://orm.drizzle.team/docs/goodies#multi-project-schema
|
||||
*/
|
||||
export const mySqlTable = mysqlTableCreator((name) => `t3turbo_${name}`);
|
||||
Reference in New Issue
Block a user