Files
mach_examples/07_roundest_pokemon_htmx/create_pokemons_table.sql
2026-05-01 14:11:28 -05:00

8 lines
192 B
SQL

CREATE TABLE IF NOT EXISTS pokemons (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
sprite TEXT NOT NULL,
wins INTEGER NOT NULL DEFAULT 0,
loses INTEGER NOT NULL DEFAULT 0
);