Files
base-sql/works/YaUhozu
T
2026-09-11 06:35:25 +00:00

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
);