generated from admin/template
Загрузить файлы в «lab 0»
This commit is contained in:
@@ -0,0 +1,32 @@
|
|||||||
|
card
|
||||||
|
- card_id: int (pk)
|
||||||
|
- card_pokemon_id: int (unique, not null)
|
||||||
|
- card_number_in_set: text (not null)
|
||||||
|
- card_rarity: text (not null)
|
||||||
|
- card_set_id: int (not null, FK -> card_set.card_set_id)
|
||||||
|
- card_illustrator_id: int (not null, FK -> illustrator.illustrator_id)
|
||||||
|
- card_height_m: numeric (not null)
|
||||||
|
- card_weight_kg: numeric (not null)
|
||||||
|
- card_hp int (check (card_hp > 0))
|
||||||
|
- card_attack_id: int (not null, FK -> attack.attack_id)
|
||||||
|
- card_retreat_cost int
|
||||||
|
- card_element_type: int (not null, FK -> element_type.element_type_id)
|
||||||
|
|
||||||
|
card_set
|
||||||
|
- card_set_id: int (pk)
|
||||||
|
- card_set_name: text (not null)
|
||||||
|
- card_set_year: int (not null)
|
||||||
|
|
||||||
|
illustrator
|
||||||
|
- illustrator_id: int (pk)
|
||||||
|
- illustrator_name: text
|
||||||
|
|
||||||
|
attack
|
||||||
|
- attack_id: int (pk)
|
||||||
|
- attack_name: text (not null)
|
||||||
|
- attack_base_damage: int (not null)
|
||||||
|
- attack_damage_modifier: text
|
||||||
|
|
||||||
|
element_type
|
||||||
|
- element_type_id: int (pk)
|
||||||
|
- element_type_name: text (not null)
|
||||||
Reference in New Issue
Block a user