mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-26 16:30:57 +01:00
10 lines
355 B
TypeScript
10 lines
355 B
TypeScript
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}`);
|