Skip to content

Commit

Permalink
adds daily leaderboard table
Browse files Browse the repository at this point in the history
  • Loading branch information
RazvanBerbece committed Aug 24, 2024
1 parent 9e5f5ce commit 4e1ff1f
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-- +migrate Up
USE aztebotBotDb;

CREATE TABLE IF NOT EXISTS DailyLeaderboard (
userId VARCHAR(255) NOT NULL,
xpEarnedInCurrentDay float(5) NOT NULL,
category INT NOT NULL,
PRIMARY KEY (`userId`)
);

-- +migrate Down
DROP TABLE IF EXISTS DailyLeaderboard;

0 comments on commit 4e1ff1f

Please sign in to comment.