feat: change schema
All checks were successful
/ Build (push) Successful in 1m34s

This commit is contained in:
log101 2024-05-30 18:55:28 +03:00
parent 3870624a9a
commit 93e9cc2617

View File

@ -5,7 +5,7 @@ USE emojis;
CREATE TABLE IF NOT EXISTS emoji_clicks (
id INT PRIMARY KEY AUTO_INCREMENT,
user_anon_data TEXT NOT NULL,
user_anon_data VARCHAR(50) UNIQUE,
post_id TEXT NOT NULL,
emoji TEXT NOT NULL,
created_at DATETIME DEFAULT CURRENT_TIMESTAMP