generated from admin/template
Обновить schema
This commit is contained in:
@@ -30,7 +30,7 @@ card_image_url text not null
|
|||||||
);
|
);
|
||||||
|
|
||||||
create table pokemon_card(
|
create table pokemon_card(
|
||||||
pokemon_hp int not null,
|
pokemon_hp int primary key,
|
||||||
pokemon_stage text not null,
|
pokemon_stage text not null,
|
||||||
pokemon_evolves_from text,
|
pokemon_evolves_from text,
|
||||||
pokemon_retreat_cost text not null
|
pokemon_retreat_cost text not null
|
||||||
@@ -38,22 +38,25 @@ pokemon_retreat_cost text not null
|
|||||||
|
|
||||||
|
|
||||||
create table attack_name(
|
create table attack_name(
|
||||||
attacks_name_title text not null
|
attacks_name_title text primary key
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
create table pockemon_attack_link(
|
create table pockemon_attack_link(
|
||||||
link_damage_value text not null,
|
link_damage_value text primary key,
|
||||||
link_effect_text text not null
|
link_effect_text text not null
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
create table attack_energy_cost(
|
create table attack_energy_cost(
|
||||||
attack_energy_cost text not null
|
attack_energy_cost text primary key
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
create table pokemon_attribute(
|
create table pokemon_attribute(
|
||||||
weakness text not null,
|
weakness text primary key,
|
||||||
resistance text not null
|
resistance text not null
|
||||||
);
|
);
|
||||||
|
|
||||||
|
insert into pokemon_card (pokemon_hp, pokemon_stage, pokemon_evolves_from, pokemon_retreat_cost) values
|
||||||
|
('130', 'Stage 2', 'Gothorita', 'Colorless')
|
||||||
Reference in New Issue
Block a user