Add category and tags granularity to company sync flows
This commit is contained in:
@@ -204,6 +204,8 @@ export const watchlistItem = sqliteTable('watchlist_item', {
|
||||
ticker: text('ticker').notNull(),
|
||||
company_name: text('company_name').notNull(),
|
||||
sector: text('sector'),
|
||||
category: text('category'),
|
||||
tags: text('tags', { mode: 'json' }).$type<string[]>(),
|
||||
created_at: text('created_at').notNull()
|
||||
}, (table) => ({
|
||||
watchlistUserTickerUnique: uniqueIndex('watchlist_user_ticker_uidx').on(table.user_id, table.ticker),
|
||||
|
||||
Reference in New Issue
Block a user