removed Routes, Introduced Single Route with Cecking
This commit is contained in:
@@ -71,7 +71,7 @@ export const projects = pgTable("projects", {
|
||||
updatedAt: timestamp("updated_at", { withTimezone: true }),
|
||||
updatedBy: uuid("updated_by").references(() => authUsers.id),
|
||||
|
||||
activePhase: text("active_phase"),
|
||||
active_phase: text("active_phase"),
|
||||
})
|
||||
|
||||
export type Project = typeof projects.$inferSelect
|
||||
|
||||
@@ -14,7 +14,7 @@ import { authUsers } from "./auth_users"
|
||||
import { timesStateEnum } from "./enums"
|
||||
import {sql} from "drizzle-orm";
|
||||
|
||||
export const staffTimeEntries = pgTable("staff_time_entries", {
|
||||
export const stafftimeentries = pgTable("staff_time_entries", {
|
||||
id: uuid("id").primaryKey().defaultRandom(),
|
||||
|
||||
tenantId: bigint("tenant_id", { mode: "number" })
|
||||
@@ -64,5 +64,5 @@ export const staffTimeEntries = pgTable("staff_time_entries", {
|
||||
sickReason: text("sick_reason"),
|
||||
})
|
||||
|
||||
export type StaffTimeEntry = typeof staffTimeEntries.$inferSelect
|
||||
export type NewStaffTimeEntry = typeof staffTimeEntries.$inferInsert
|
||||
export type StaffTimeEntry = typeof stafftimeentries.$inferSelect
|
||||
export type NewStaffTimeEntry = typeof stafftimeentries.$inferInsert
|
||||
|
||||
Reference in New Issue
Block a user