add: create, update and login dates in database
This commit is contained in:
@@ -14,7 +14,10 @@ export const users = pgTable('user', {
|
||||
password: text('password'),
|
||||
username: text('username').unique(),
|
||||
dashboardTheme: text('dashboard_theme').default('none'),
|
||||
dashboardColor: text('dashboard_color')
|
||||
dashboardColor: text('dashboard_color'),
|
||||
lastLogin: timestamp('last_login', { mode: 'date' }),
|
||||
createdAt: timestamp('created_at').defaultNow().notNull(),
|
||||
updatedAt: timestamp('updated_at').defaultNow().notNull()
|
||||
});
|
||||
|
||||
export const accounts = pgTable(
|
||||
|
||||
Reference in New Issue
Block a user