feat(DRW-001) initial commit!
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
CREATE TYPE primary_attribute AS ENUM ('strength', 'agility', 'intelligence', 'universal');
|
||||
CREATE TYPE attack_type AS ENUM ('melee', 'ranged');
|
||||
|
||||
CREATE TABLE heroes (
|
||||
id SERIAL PRIMARY KEY,
|
||||
name TEXT NOT NULL UNIQUE,
|
||||
primary_attribute primary_attribute NOT NULL,
|
||||
attack_type attack_type NOT NULL,
|
||||
image_url TEXT NOT NULL
|
||||
);
|
||||
Reference in New Issue
Block a user