Merge remote-tracking branch 'github/main'
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
serial,
|
||||
varchar,
|
||||
text,
|
||||
longtext,
|
||||
timestamp,
|
||||
bigint,
|
||||
int,
|
||||
@@ -78,6 +79,9 @@ export const recipients = mysqlTable(
|
||||
verifiedBy: bigint("verified_by", { mode: "number", unsigned: true }),
|
||||
verifiedAt: timestamp("verified_at"),
|
||||
notes: text("notes"),
|
||||
ktpDocument: longtext("ktp_document"),
|
||||
kkDocument: longtext("kk_document"),
|
||||
sktmDocument: longtext("sktm_document"),
|
||||
createdAt: timestamp("created_at").defaultNow().notNull(),
|
||||
updatedAt: timestamp("updated_at").defaultNow().notNull().$onUpdate(() => new Date()),
|
||||
},
|
||||
@@ -104,6 +108,7 @@ export const distributions = mysqlTable(
|
||||
quantity: int("quantity").default(1),
|
||||
unit: varchar("unit", { length: 50 }).default("package"),
|
||||
distributionDate: timestamp("distribution_date").defaultNow().notNull(),
|
||||
handoverPhoto: longtext("handover_photo"),
|
||||
notes: text("notes"),
|
||||
createdAt: timestamp("created_at").defaultNow().notNull(),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user