From 42cea27164abce9ee0114de38df5985c610cf865 Mon Sep 17 00:00:00 2001 From: salfetka5 Date: Tue, 8 Sep 2026 07:32:04 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20works/mysqllab1/result.dbml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- works/mysqllab1/result.dbml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/works/mysqllab1/result.dbml b/works/mysqllab1/result.dbml index eb471f8..19e6373 100644 --- a/works/mysqllab1/result.dbml +++ b/works/mysqllab1/result.dbml @@ -13,6 +13,19 @@ Table card_set { card_set_total_cards int [null, check: `card_set_total_cards > 0`] } +Table pokemon { + pokemon_id int [pk, increment] + pokemon_attack_id int [not null, ref: > card_attack.card_attack_id] + pokemon_attack_position int [not null, ref: > card_attack.card_attack_position] + pokemon_height numeric + pokemon_weight numeric +} + +Table trainer { + trainer_id int [pk, increment] + +} + Table element_type { element_type_id int [pk, increment] element_type_name text [not null, unique] @@ -38,6 +51,7 @@ Table card { card_image_url text [null] illustrator_id int [not null, ref: > illustrator.illustrator_id] card_set_id int [not null, ref: > card_set.card_set_id] + pokemon_id int [not null] } Table card_attack {