10 lines
342 B
TypeScript
10 lines
342 B
TypeScript
import { pgTableCreator } from "drizzle-orm/pg-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 createTable = pgTableCreator((name) => `ls_${name}`);
|