learn-sql-model/database.md

1.3 KiB

ER Diagram


Table: learn_sql_model_alembic_version

First 5 rows

version_num
f48730a783a5

Columns

Column Name Type Foreign Key Example Value
version_num VARCHAR(32)

Records Count

The table learn_sql_model_alembic_version contains 1 records.


Table: pet

First 5 rows

name birthday id

Columns

Column Name Type Foreign Key Example Value
name VARCHAR
birthday DATETIME
id INTEGER

Records Count

The table pet contains 0 records.


Table: hero

First 5 rows

name secret_name x y size age shoe_size pet_id id

Columns

Column Name Type Foreign Key Example Value
name VARCHAR
secret_name VARCHAR
x INTEGER
y INTEGER
size INTEGER
age INTEGER
shoe_size INTEGER
pet_id INTEGER pet.id
id INTEGER

Records Count

The table hero contains 0 records.