Mark task 2.4 as complete: Generate Drizzle migration
This commit is contained in:
parent
f4225d0334
commit
877ae032a1
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
|||
- [x] 2.1 `[sonnet]` Add `users` table to Drizzle schema (`src/lib/db/schema.ts`) with UUID PK, email, password_hash, name, image, provider, provider_account_id, email_verified, created_at, updated_at
|
||||
- [x] 2.2 `[sonnet]` Add `user_id` (uuid, FK to users.id) column to `charts`, `annotations`, `annotation_types`, `span_annotations`, `span_label_types` in schema
|
||||
- [x] 2.3 `[sonnet]` Replace unique constraints: `charts.name` → `(user_id, name)`, `annotation_types.name` → `(user_id, name)`, `span_label_types.name` → `(user_id, name)`
|
||||
- [ ] 2.4 `[haiku]` Generate Drizzle migration with `drizzle-kit generate`
|
||||
- [x] 2.4 `[haiku]` Generate Drizzle migration with `drizzle-kit generate`
|
||||
- [ ] 2.5 `[opus]` Create data migration script (`scripts/migrate-users.ts`): create default admin user, backfill `user_id` on all existing rows, alter columns to NOT NULL
|
||||
|
||||
## 3. Auth.js Configuration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue