some fixes and new features

This commit is contained in:
2026-01-23 15:14:21 +03:00
parent 336abd5517
commit 65e6dfabd7
9 changed files with 80 additions and 31 deletions

View File

@@ -1,11 +1,12 @@
BEGIN TRANSACTION;
CREATE TABLE fractions(
id serial PRIMARY KEY,
name text,
owner_id int REFERENCES users(id),
owner_id int8 REFERENCES users(id),
money decimal(20, 0),
exp int DEFAULT 0,
level int DEFAULT 0
);
CREATE UNIQUE INDEX fractions_uindex ON fractions(id);
BEGIN TRANSACTION;
COMMIT TRANSACTION;