diff --git a/syncapi/storage/postgres/current_room_state_table.go b/syncapi/storage/postgres/current_room_state_table.go index 0c9b866d0..d13b7be41 100644 --- a/syncapi/storage/postgres/current_room_state_table.go +++ b/syncapi/storage/postgres/current_room_state_table.go @@ -138,7 +138,7 @@ func NewPostgresCurrentRoomStateTable(db *sql.DB) (tables.CurrentRoomState, erro m := sqlutil.NewMigrator(db) m.AddMigrations(sqlutil.Migration{ Version: "syncapi: add history visibility column (current_room_state)", - Up: deltas.UpAddHistoryVisibilityColumnOutputRoomEvents, + Up: deltas.UpAddHistoryVisibilityColumnCurrentRoomState, }) err = m.Up(context.Background()) if err != nil {