generated from admin/template
35 lines
841 B
Plaintext
35 lines
841 B
Plaintext
Сущность - card
|
|
-card_id: int (not null, unique)
|
|
-card_name: TEXT (not null)
|
|
-card_hp: NUMERIC (not null, check)
|
|
-Height: NUMERIC (not null, check)
|
|
-weight: NUMERIC (not null, check)
|
|
-rarity: TEXT (not null)
|
|
|
|
CONSTRAINT hp check (hp > 0)
|
|
CONSTRAINT Height check (Height > 0)
|
|
|
|
Сущность - cars_set
|
|
-set_id: int (not null, unique)
|
|
-set_releaced date: DATE (not null)
|
|
-set_name: TEXT (not null)
|
|
-set_code: INT (not null, unique)
|
|
|
|
Сущность: - attack
|
|
-attack_id: int (not null)
|
|
-attack_name: TEXT (not null, )
|
|
-attack_base_damage: text (not null)
|
|
-attack_effect: TEXT
|
|
|
|
CONSTRAINT attack_base_damage check (attack > 0)
|
|
|
|
Сущность - element_type
|
|
-element_type_name: TEXT (not null)
|
|
-element_type_id: int (not null)
|
|
|
|
Сущность: - illustrator
|
|
-illustrator_name: TEXT (not null)
|
|
-illustrator_id: int (not null)
|
|
|
|
|