mirror of
https://github.com/soconnor0919/hristudio.git
synced 2025-12-11 22:54:45 -05:00
Add authentication
This commit is contained in:
@@ -13,7 +13,7 @@ import {
|
||||
timestamp,
|
||||
unique,
|
||||
uuid,
|
||||
varchar
|
||||
varchar,
|
||||
} from "drizzle-orm/pg-core";
|
||||
import { type AdapterAccount } from "next-auth/adapters";
|
||||
|
||||
@@ -23,7 +23,7 @@ import { type AdapterAccount } from "next-auth/adapters";
|
||||
*
|
||||
* @see https://orm.drizzle.team/docs/goodies#multi-project-schema
|
||||
*/
|
||||
export const createTable = pgTableCreator((name) => `hristudio_${name}`);
|
||||
export const createTable = pgTableCreator((name) => `hs_${name}`);
|
||||
|
||||
// Enums
|
||||
export const systemRoleEnum = pgEnum("system_role", [
|
||||
|
||||
Reference in New Issue
Block a user