temp
This commit is contained in:
@@ -457,7 +457,7 @@ export const routerViews = pgTable("router_views", {
|
||||
|
||||
views: jsonb().default([]).$type<Array<RouterViewQuery>>(),
|
||||
createdAt: timestamp('createdAt').notNull().defaultNow(),
|
||||
updatedAt: timestamp('updatedAt').notNull().defaultNow(),
|
||||
updatedAt: timestamp('updatedAt').notNull().defaultNow().$onUpdate(() => new Date()),
|
||||
}, (table) => [
|
||||
index('router_views_uid_idx').using('btree', table.uid.asc().nullsLast()),
|
||||
index('router_title_idx').using('btree', table.title.asc().nullsLast()),
|
||||
|
||||
Reference in New Issue
Block a user