добавление первой версии при lesson-1

*с минимальными изменениями для соблюдения задания
This commit is contained in:
2026-09-17 07:07:14 +00:00
parent d01bf3ece8
commit 515a65fd11
+40
View File
@@ -0,0 +1,40 @@
Table card {
card_id int [pk]
card_pokemon_id int
card_description text
// данные, не влияющие на игру
card_number_in_set text // пример: "42/146"
card_rarity text // пример: "Common", "Ultra Rare"
card_set_id int
card_illustrator_id int
card_height_m numeric
card_weight_kg numeric
// игровые данные
card_hp int
card_attack_id int
card_retreat_cost int
}
Table card_set {
card_set_id int [pk]
card_set_name text
card_set_year int // именно год же, не дата? год можно и числом записать...
}
Table attack {
attack_id int [pk]
attack_name text
attack_base_damage text // "20+", "30x"
}
Table element_type {
element_type_id int [pk]
element_type_name text
}
Table illustrator {
illustrator_id int [pk]
illustrator_name text
}