perbaikan tambah akun dan akses setiap role

This commit is contained in:
2026-06-03 09:30:40 +07:00
parent a904a27934
commit 1ee12d8a72
13 changed files with 764 additions and 105 deletions
+4 -3
View File
@@ -4,6 +4,7 @@ import {
serial,
varchar,
text,
longtext,
timestamp,
bigint,
int,
@@ -78,9 +79,9 @@ export const recipients = mysqlTable(
verifiedBy: bigint("verified_by", { mode: "number", unsigned: true }),
verifiedAt: timestamp("verified_at"),
notes: text("notes"),
ktpDocument: text("ktp_document"),
kkDocument: text("kk_document"),
sktmDocument: text("sktm_document"),
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()),
},