Discover Section Improvements
Additonal Tweeks
This commit is contained in:
parent
92f6a9f7e1
commit
649bb4ea7e
5 changed files with 384 additions and 140 deletions
|
|
@ -33,6 +33,9 @@ export const userPreferences = sqliteTable('user_preferences', {
|
|||
categories: text('categories', { mode: 'json' })
|
||||
.$type<string[]>()
|
||||
.default(sql`'["AI", "Technology"]'`),
|
||||
languages: text('languages', { mode: 'json' }) // Changed from 'language' to 'languages'
|
||||
.$type<string[]>()
|
||||
.default(sql`'[]'`), // Empty array means "All Languages"
|
||||
createdAt: text('created_at').notNull().default(sql`CURRENT_TIMESTAMP`),
|
||||
updatedAt: text('updated_at').notNull().default(sql`CURRENT_TIMESTAMP`),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue