change labs tree and add first lab for api

This commit is contained in:
ubtk
2026-10-13 16:47:34 +03:00
parent f92774d4a8
commit 4a9214ec49
5 changed files with 451 additions and 73 deletions
+12
View File
@@ -0,0 +1,12 @@
CREATE TABLE energy_type (
energy_type_id int PRIMARY KEY,
energy_type_name text NOT NULL,
energy_type_icon_url text NOT NULL
)
CREATE TABLE pokemon (
pokemon_id int PRIMARY KEY,
pokemon_name text NOT NULL,
energy_type_id int REFERENCES energy_type(energy_type_id)
)