mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-04-03 02:04:15 +00:00
Update src/db/schema.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Ahmad <103906421+ahmadk953@users.noreply.github.com>
This commit is contained in:
parent
b5ce514397
commit
84bf5b272c
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ export const levelTable = pgTable('levels', {
|
||||||
.notNull()
|
.notNull()
|
||||||
.references(() => memberTable.discordId, { onDelete: 'cascade' }),
|
.references(() => memberTable.discordId, { onDelete: 'cascade' }),
|
||||||
xp: integer('xp').notNull().default(0),
|
xp: integer('xp').notNull().default(0),
|
||||||
level: integer('level').notNull().default(1),
|
level: integer('level').notNull().default(0),
|
||||||
lastMessageTimestamp: timestamp('last_message_timestamp'),
|
lastMessageTimestamp: timestamp('last_message_timestamp'),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue