refactor(database): updated to the schemas

This commit is contained in:
2025-03-01 15:21:19 -06:00
parent 0ddcfaeaa9
commit 6c3199fecc
4 changed files with 36 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
import {text, pgTable, numeric, index, timestamp, boolean, uuid, uniqueIndex} from "drizzle-orm/pg-core";
import {createInsertSchema, createSelectSchema} from "drizzle-zod";
import {z} from "zod";
import {users} from "./users";
import {roles} from "./roles";
import {modules} from "./modules";
import {users} from "./users.js";
import {roles} from "./roles.js";
import {modules} from "./modules.js";
/*
we will add the user