summaryrefslogtreecommitdiff
path: root/db/schema/consent.ts
diff options
context:
space:
mode:
Diffstat (limited to 'db/schema/consent.ts')
-rw-r--r--db/schema/consent.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/schema/consent.ts b/db/schema/consent.ts
index c67f4b7d..613e92f0 100644
--- a/db/schema/consent.ts
+++ b/db/schema/consent.ts
@@ -38,7 +38,7 @@ import { users } from "./users";
export const policyVersions = pgTable("policy_versions", {
id: integer("id").primaryKey().generatedAlwaysAsIdentity(),
policyType: policyTypeEnum("policy_type").notNull(),
- locale: varchar("locale", { length: 10 }).notNull(), // ko, en
+ locale: varchar("locale", { length: 10 }).default("ko"), // ko, en
version: varchar("version", { length: 20 }).notNull(),
content: text("content").notNull(),
effectiveDate: timestamp("effective_date", { withTimezone: true }).notNull(),