You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(schema): make agent_threads/messages migration work on fresh DBs
Wrap the migration with CREATE TABLE IF NOT EXISTS for both
agent_threads and agent_messages so it runs cleanly on new
deployments, not just databases where the Go API had already
created the tables. Also drop any threads left without a user
after backfill so the NOT NULL constraint can be enforced when
the user table is empty.
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments