Обновить schema

This commit is contained in:
2026-09-29 08:51:33 +00:00
parent 8b5cef789b
commit c309db015c
+9 -6
View File
@@ -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
);
);
insert into pokemon_card (pokemon_hp, pokemon_stage, pokemon_evolves_from, pokemon_retreat_cost) values
('130', 'Stage 2', 'Gothorita', 'Colorless')