update: move the fk column below id assessments
This commit is contained in:
parent
aa9d1432e0
commit
435a7e7b95
|
|
@ -14,7 +14,8 @@ export const assessments = pgTable("assessments", {
|
||||||
reviewedBy: varchar("reviewedBy").notNull(),
|
reviewedBy: varchar("reviewedBy").notNull(),
|
||||||
validatedBy: varchar("validatedBy").notNull(),
|
validatedBy: varchar("validatedBy").notNull(),
|
||||||
validatedAt: timestamp("validatedAt", { mode: "date" }),
|
validatedAt: timestamp("validatedAt", { mode: "date" }),
|
||||||
createdAt: timestamp("createdAt", { mode: "date" }).defaultNow(),
|
createdAt: timestamp("createdAt", { mode: "date" }).defaultNow(),
|
||||||
|
|
||||||
});
|
});
|
||||||
// Query Tools in PosgreSQL
|
// Query Tools in PosgreSQL
|
||||||
// CREATE TYPE status AS ENUM ('tertunda', 'disetujui', 'ditolak', 'selesai');
|
// CREATE TYPE status AS ENUM ('tertunda', 'disetujui', 'ditolak', 'selesai');
|
||||||
Loading…
Reference in New Issue
Block a user