first commit

This commit is contained in:
Soph :3 2025-09-09 10:15:15 +03:00
commit 0cb536b42b
38 changed files with 9044 additions and 0 deletions

View file

@ -0,0 +1 @@
DROP TABLE users;

View file

@ -0,0 +1,5 @@
CREATE TABLE users (
_id TEXT PRIMARY KEY,
balance INTEGER NOT NULL DEFAULT 0,
items JSON NOT NULL DEFAULT '[]'
);

View file

@ -0,0 +1 @@
DROP TABLE cooldowns;

View file

@ -0,0 +1,5 @@
CREATE TABLE cooldowns (
_id TEXT,
type TEXT NOT NULL PRIMARY KEY,
untill TIMESTAMPTZ NOT NULL
);