From eced29ca27c17d83248976a9677afcdb10334259 Mon Sep 17 00:00:00 2001 From: Arf <10+arf@noreply.localhost> Date: Mon, 7 Sep 2026 09:01:45 +0000 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20works/lab-01/work2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- works/lab-01/work2 | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 works/lab-01/work2 diff --git a/works/lab-01/work2 b/works/lab-01/work2 new file mode 100644 index 0000000..fbdeb64 --- /dev/null +++ b/works/lab-01/work2 @@ -0,0 +1,35 @@ +Table card { + + card_id int [primary key] + card_name text [NOT NULL] + card_stage text [NOT NULL] + card_hp int [NOT NULL, check:`card_hp>0`] + card_num_pokedeks int [NOT NULL] + card_category text [NOT NULL] + card_weight numeric [NOT NULL, check:`card_weight>0`] + card_height numeric [NOT NULL, check:`card_height>0`] + card_retreat_cost int [NOT NULL] + card_year date + illustrator_id int [primary key] +} +Table card_set { + card_code_set int [ primary key] + card_set_name text [NOT NULL] + card_date date +} +Table attack { + attack_id int [primary key] + attack_name text [NOT NULL] + damage int [NOT NULL, check:`damage>0`] + text_effect_attack text [NOT NULL] + attack_modificator text +} +Table element_type { + element_id int [primary key] + element_name text [NOT NULL] +} +Table illustrator { + illustrator_id int [primary key] + illustrator_name text [NOT NULL] + +}