"Get that shit outta my master."

This commit is contained in:
2026-03-16 10:43:22 +03:00
parent d4afebd20f
commit 9a34d05572
8 changed files with 53 additions and 55 deletions

View File

@@ -12,14 +12,14 @@ CREATE TABLE groups (
);
CREATE TABLE users (
id int8 NOT NULL PRIMARY KEY,
balance decimal(20,0) NOT NULL DEFAULT 0,
name text NOT NULL,
group_id int NOT NULL DEFAULT 1 REFERENCES groups(id),
level int DEFAULT 1,
exp int DEFAULT 0,
work_id int NOT NULL DEFAULT 1 REFERENCES works(id),
work_time timestamp DEFAULT now(),
id INT8 NOT NULL PRIMARY KEY,
balance DECIMAL(20,0) NOT NULL DEFAULT 0,
name TEXT NOT NULL,
group_id INT NOT NULL DEFAULT 1 REFERENCES groups(id),
level INT DEFAULT 1,
exp DECIMAL(20, 0) DEFAULT 0,
work_id INT NOT NULL DEFAULT 1 REFERENCES works(id),
work_time TIMESTAMP DEFAULT now(),
auto_id int DEFAULT NULL,
business_id int DEFAULT NULL,
@@ -35,7 +35,7 @@ CREATE TABLE users (
fraction_id int DEFAULT NULL,
money_income decimal(20, 0) DEFAULT 0,
exp_income int DEFAULT 0,
exp_income decimal(20, 0) DEFAULT 0,
btc_income decimal(16, 6) DEFAULT 0,
waifu_search_time timestamp DEFAULT now()