generated from admin/template
15 lines
444 B
Plaintext
15 lines
444 B
Plaintext
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
|
|
);
|
|
|