ai work
This commit is contained in:
@@ -11,7 +11,7 @@ CREATE TABLE groups (
|
||||
);
|
||||
|
||||
CREATE TABLE users (
|
||||
id int NOT NULL PRIMARY KEY,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
balance decimal(20,0) NOT NULL DEFAULT 0,
|
||||
name text,
|
||||
group_id int REFERENCES groups(id),
|
||||
@@ -28,7 +28,7 @@ CREATE TABLE users (
|
||||
income_time timestamp DEFAULT now(),
|
||||
btc decimal(16,6) DEFAULT 0,
|
||||
invested decimal(20, 0) DEFAULT 0,
|
||||
pair_id int DEFAULT NULL,
|
||||
pair_id int8 DEFAULT NULL,
|
||||
greeting text DEFAULT 'Привет',
|
||||
donat int DEFAULT 0,
|
||||
fraction_id int DEFAULT NULL,
|
||||
@@ -41,8 +41,8 @@ CREATE TABLE users (
|
||||
);
|
||||
CREATE UNIQUE INDEX users_uindex ON users(id);
|
||||
CREATE UNIQUE INDEX groups_uindex ON groups(id);
|
||||
BEGIN TRANSACTION;
|
||||
|
||||
BEGIN TRANSACTION;
|
||||
INSERT INTO groups VALUES (1, '✨Пользователь✨', false, false, 1.0, 1, 3, false, 3);
|
||||
INSERT INTO groups VALUES (3, '👾Премиум🌟', false, true, 5, 0.75, 7, false, 3);
|
||||
INSERT INTO groups VALUES (2, '🔮VIP🔮', false, true, 2.5, 0.9, 5, false, 3);
|
||||
|
||||
Reference in New Issue
Block a user