This block + 6,000 more — yours with Pro

Error Migration Failed

60/100
Docs

Migration Error

Database Migration Failed

The database migration could not be completed. Your database is in a safe state. Review the error and decide whether to rollback or contact support.

Migration: 20240315_add_user_preferences

Error details

Migration failed: 20240315_add_user_preferences
Error: column "theme_preference" of relation "users" already exists

SQL: ALTER TABLE users ADD COLUMN theme_preference VARCHAR(50);

This migration was part of batch: 2024-03-15-user-settings
Previous successful migration: 20240314_update_sessions

Current state:

Database version:2024.03.14.1
Last successful:20240314_update_sessions
Pending migrations:3

Next steps:

  • Review the error message to identify the root cause
  • Check if the migration can be safely modified and retried
  • Rollback if needed, or contact database support for assistance