import { integer, sqliteTable } from 'drizzle-orm/sqlite-core' import { staff } from './staff' import { roles } from './roles' export const staffRoles = sqliteTable('staff_roles', { id: integer('id').primaryKey({ autoIncrement: true }), staffId: integer('staff_id').notNull().references(() => staff.id), roleId: integer('role_id').notNull().references(() => roles.id), })