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