Fix TypeScript errors and implement furniture import ID integrity with 18+ age verification
- Add termsAccepted and ageVerified columns to User table - Update register schema with new boolean fields - Fix register form age verification checkbox (th -> t) - Fix furni-import spriteId declaration order - Fix batch route variable naming (id -> spriteId) - Fix catalog-audit import path and ensure correct types - Hardened import with per-item id conflict checks - Added audit option for FurnitureData.json spriteId conflicts - Updated tagline to include Leeftijdsvereiste: 18+
This commit is contained in:
1 parent
e5ec3c1f06
commit
e76c530e4f
13 files changed
+267
-104
No files matched your search
@@ -76,6 +76,8 @@ export const User = mysqlTable("users", {
|
||||
homeRoom: int("home_room").notNull().default(0),
|
||||
secretKey: varchar("secret_key", { length: 40 }),
|
||||
pincode: varchar("pincode", { length: 11 }),
|
||||
termsAccepted: boolean("terms_accepted").notNull().default(false),
|
||||
ageVerified: boolean("age_verified").notNull().default(false),
|
||||
extraRank: int("extra_rank"),
|
||||
twoFactorSecret: text("two_factor_secret"),
|
||||
twoFactorRecoveryCodes: text("two_factor_recovery_codes"),
|
||||
|
||||
Reference in new issue
Block a user