update: move the fk column below id assessments

This commit is contained in:
ferdiansyah666 2024-08-05 21:40:41 +07:00
parent aa9d1432e0
commit 435a7e7b95

View File

@ -15,6 +15,7 @@ export const assessments = pgTable("assessments", {
validatedBy: varchar("validatedBy").notNull(),
validatedAt: timestamp("validatedAt", { mode: "date" }),
createdAt: timestamp("createdAt", { mode: "date" }).defaultNow(),
});
// Query Tools in PosgreSQL
// CREATE TYPE status AS ENUM ('tertunda', 'disetujui', 'ditolak', 'selesai');