feat(db): Drizzle ORM schema and migrations

Schema domains: users/auth, recipes, social, meal-planning, tiers/usage, webhooks.
Includes Better Auth tables, audit_logs, site_settings, push_subscriptions,
user_model_prefs, user_nutrition_goals. Migrations 0000–0008 applied.
This commit is contained in:
Arnaud
2026-07-01 08:08:44 +02:00
parent ae7c5d943e
commit add9365250
39 changed files with 25552 additions and 0 deletions
@@ -0,0 +1,69 @@
{
"version": "7",
"dialect": "postgresql",
"entries": [
{
"idx": 0,
"version": "7",
"when": 1782374484140,
"tag": "0000_motionless_cardiac",
"breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1782394660764,
"tag": "0001_curvy_crystal",
"breakpoints": true
},
{
"idx": 2,
"version": "7",
"when": 1782408717265,
"tag": "0002_freezing_prowler",
"breakpoints": true
},
{
"idx": 3,
"version": "7",
"when": 1782408796095,
"tag": "0003_robust_bullseye",
"breakpoints": true
},
{
"idx": 4,
"version": "7",
"when": 1782854086888,
"tag": "0004_chemical_deadpool",
"breakpoints": true
},
{
"idx": 5,
"version": "7",
"when": 1782854378834,
"tag": "0005_massive_spot",
"breakpoints": true
},
{
"idx": 6,
"version": "7",
"when": 1782856370142,
"tag": "0006_worthless_roxanne_simpson",
"breakpoints": true
},
{
"idx": 7,
"version": "7",
"when": 1782859664569,
"tag": "0007_majestic_retro_girl",
"breakpoints": true
},
{
"idx": 8,
"version": "7",
"when": 1782883184215,
"tag": "0008_violet_centennial",
"breakpoints": true
}
]
}