From c309db015ca6eaf78015078840fb6349d3c49c81 Mon Sep 17 00:00:00 2001 From: Loser <19+loser@noreply.localhost> Date: Tue, 29 Sep 2026 08:51:33 +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=20schema?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- schema | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/schema b/schema index 07dbc1b..77eac74 100644 --- a/schema +++ b/schema @@ -30,7 +30,7 @@ card_image_url text not null ); create table pokemon_card( -pokemon_hp int not null, +pokemon_hp int primary key, pokemon_stage text not null, pokemon_evolves_from text, pokemon_retreat_cost text not null @@ -38,22 +38,25 @@ pokemon_retreat_cost text not null create table attack_name( -attacks_name_title text not null +attacks_name_title text primary key ); create table pockemon_attack_link( -link_damage_value text not null, +link_damage_value text primary key, link_effect_text text not null ); create table attack_energy_cost( -attack_energy_cost text not null +attack_energy_cost text primary key ); create table pokemon_attribute( -weakness text not null, +weakness text primary key, resistance text not null -); \ No newline at end of file +); + +insert into pokemon_card (pokemon_hp, pokemon_stage, pokemon_evolves_from, pokemon_retreat_cost) values + ('130', 'Stage 2', 'Gothorita', 'Colorless') \ No newline at end of file