generated from admin/template
Добавить works/YaUhozu
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
create table pokemon_species(
|
||||||
|
species_pokedex_number int primary key,
|
||||||
|
species_eng_name text unique not null,
|
||||||
|
species_generation int not null,
|
||||||
|
species_height_m numeric not null,
|
||||||
|
species_weight_kg numeric not null
|
||||||
|
);
|
||||||
|
create table pokedex_entry(
|
||||||
|
entry_id int generated always as identity primary key,
|
||||||
|
entry_pokedex_number int references pokemon.species(species_pokedex_number),
|
||||||
|
entry_source_game text not null,
|
||||||
|
entry_description text not null
|
||||||
|
);
|
||||||
|
|
||||||
Reference in New Issue
Block a user