From 74401715032c05e4fe60cb621e1bfcb728ada9d6 Mon Sep 17 00:00:00 2001 From: Fan Date: Mon, 7 Sep 2026 09:03:59 +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=20uy.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uy.txt | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/uy.txt b/uy.txt index 034b84e..5231e4d 100644 --- a/uy.txt +++ b/uy.txt @@ -1,24 +1,34 @@ Сущность - card --name: TEXT --height: NUMERIC --weight: NUMERIC --card_hp: INT --rarity: TEXT +-card_id: int (not null, unique) +-card_name: TEXT (not null) +-card_hp: NUMERIC (not null, check) +-Height: NUMERIC (not null, check) +-weight: NUMERIC (not null, check) +-rarity: TEXT (not null) + +CONSTRAINT hp check (hp > 0) +CONSTRAINT Height check (Height > 0) Сущность - cars_set --releaced date: DATE --set_name: TEXT --set_code: INT +-set_id: int (not null, unique) +-set_releaced date: DATE (not null) +-set_name: TEXT (not null) +-set_code: INT (not null, unique) Сущность: - attack --attack_name: TEXT --attack_base_damage: text +-attack_id: int (not null) +-attack_name: TEXT (not null, ) +-attack_base_damage: text (not null) -attack_effect: TEXT +CONSTRAINT attack_base_damage check (attack > 0) + Сущность - element_type --element_type_name: TEXT +-element_type_name: TEXT (not null) +-element_type_id: int (not null) Сущность: - illustrator --illustrator_name: TEXT +-illustrator_name: TEXT (not null) +-illustrator_id: int (not null)