feat(profile): add privacy controls and progressive photo gallery
This commit is contained in:
1 parent
ba9c61d808
commit
74223984dc
13 files changed
+764
-167
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { boolean, int, mysqlTable } from "drizzle-orm/mysql-core";
|
||||
|
||||
export const WebsiteProfilePrivacy = mysqlTable("website_profile_privacy", {
|
||||
userId: int("user_id").primaryKey().notNull(),
|
||||
wallet: boolean("wallet").notNull().default(false),
|
||||
online: boolean("online").notNull().default(true),
|
||||
friends: boolean("friends").notNull().default(true),
|
||||
photos: boolean("photos").notNull().default(true),
|
||||
registered: boolean("registered").notNull().default(true),
|
||||
});
|
||||
Reference in new issue
Block a user