From 69b0e14555e856aa5bef0f89e21b9cc0d464cddb Mon Sep 17 00:00:00 2001 From: Stas Date: Thu, 1 Oct 2026 12:46:11 +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=20lesson0.sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lesson0.sql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lesson0.sql b/lesson0.sql index ea787cb..3801b15 100644 --- a/lesson0.sql +++ b/lesson0.sql @@ -1,4 +1,4 @@ -create table card ( +CREATE TABLE card ( card_id int primary key card_name text not null card_stage text not null @@ -15,7 +15,7 @@ create table card ( card_illustrator_id int not null ); -create table card_set ( +CREATE TABLE card_set ( card_set_id int primary key foreign key card_set_name text not null card_set_code text not null @@ -23,7 +23,7 @@ create table card_set ( set_release_date date not null ); -create table attack ( +CREATE TABLE attack ( attack_id int primary key foreign key attack_name text not null attack_base_damage text not null, check (attack_base_damage > 0) @@ -31,12 +31,12 @@ create table attack ( attack_card_id int not null ); -create table element_type ( +CREATE TABLE element_type ( element_type_id int primary key foreign key element_type_name text not null ); -create table illustrator ( +CREATE TABLE illustrator ( illustrator_id int primary key foreign key illustrator_name text not null ); \ No newline at end of file