Files
base-sql/fff.txt
T

33 lines
852 B
Plaintext

1) Сущность - Card
-Name: TEXT (not null,unique)
-Height: numeric (not null,)
-Weight: numeric (not null,)
-Attack name: TEXT (not null, unique)
-rarity: text (not null)
-stage: int
-card_id: int (not null, unique)
-card_hp: int (not null)
CONSTRAINT Height CHECK (height > 0)
CONSTRAINT card_hp CHECK (hp > 0)
2) Сущность: Card_set
-set_name: text (not null, unique)
-relaced date : date (not null)
-set_id: int (not null, unique)
-set_code: int (not null)
3) Сущность: attack
-attack name: text (not null, unique)
-attack base damage: int (not null)
-attack effect: text
CONSTRAINT attack base damage CHECK (att > 0)
4) Сущность: element type
-element type name: text (not null)
-element_type_id: int (not null)
5) Сущность: illustrator
-illustrator name: text (not null)
-illustrator_id: int (not null)