Schema reference
Declared schema · schema.sql · not a live database
4
tables
11
columns
3
references
0
enums
Diagram
Left to right by dependency: a table sits right of everything it references, so this order is one the tables can be created in.
Tables
books
| Column | Type | Null | Key | Default | References | Comment |
|---|---|---|---|---|---|---|
| id | INTEGER | — | primary | |||
| author_id | INTEGER | — | → authors(id) | |||
| title | VARCHAR(240) | — | ||||
| summary | TEXT | null |