many new
This commit is contained in:
11
scripts/postgres/03-fractions.sql
Normal file
11
scripts/postgres/03-fractions.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
BEGIN TRANSACTION;
|
||||
CREATE TABLE fractions(
|
||||
id serial PRIMARY KEY,
|
||||
name text,
|
||||
owner_id int REFERENCES users(id),
|
||||
money decimal(20, 0),
|
||||
exp int DEFAULT 0,
|
||||
level int DEFAULT 0
|
||||
);
|
||||
CREATE UNIQUE INDEX fractions_uindex ON fractions(id);
|
||||
COMMIT TRANSACTION;
|
||||
Reference in New Issue
Block a user