feat: add initial database schema with migrations

Introduce foundational database schema with tables for `users`, `categories`, `contents`, `tags`, and `favorites`. Add foreign key relationships, constraints, and indexes for efficient querying.
This commit is contained in:
Mathis HERRIOT
2026-01-14 13:04:27 +01:00
parent 7cb5ff487d
commit 9e37272bff
4 changed files with 1543 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,20 @@
{
"version": "7",
"dialect": "postgresql",
"entries": [
{
"idx": 0,
"version": "7",
"when": 1767618753676,
"tag": "0000_right_sally_floyd",
"breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1768392191169,
"tag": "0001_purple_goliath",
"breakpoints": true
}
]
}