From 973a9dae6291c7565bcc18728c1981a07681b77e Mon Sep 17 00:00:00 2001 From: vlad1winstavki_1 Date: Tue, 8 Sep 2026 06:30:05 +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/sqllab1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- works/sqllab1 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/works/sqllab1 b/works/sqllab1 index c5d72c8..9a3da30 100644 --- a/works/sqllab1 +++ b/works/sqllab1 @@ -1,22 +1,22 @@ table card { card_name text [not null] - card_height numeric [not null, check: `card_height > 0`] - card_weight numeric [not null, check: `card_weight > 0`] card_hp int [not null, check: `card_hp > 0`] card_rarity text [null] card_id int [pk, increment] - card_stage int [null] - card_attack_name text [null] - + card_number text [not null] + card_artist text [null] + card_release_date date [null] + card_inge_url text [null] + illustrator_id text [not null, ref: > illustrator.illustrator_id] + card_set_id int [not null, ref: > card_set.card_set_id] } table card_set { set_name text [not null, unique] set_relaced_date date [null] - set_id int [pk, increment] set_code int [not null, unique] set_total_cards int [null, check: `set_total_cards > 0` ] - + card_set_id int [not null, increment] } table attack { @@ -33,7 +33,7 @@ table element_type { element_type_symbol text [null] } -table illustrtor { +table illustrator { illustrator_name text [not null, unique] illustrator_id int [pk, increment] illustrator_nationality text [null]