Project

General

Profile

Actions

Patch #31230

closed

Fix: migration fails in MS SQL-Server

Added by Anders Thomsen about 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Database
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Fixes #24402

Migration fails when building (db:migrate) the database from scratch on SQL-Server. Run db:migrate again an it runs successfully.

It seems to be a cache problem.

Both 3.4 and 4.0 branches should be patched as 4.0 currently fails on SQL-Server (#30285).

Solution was found here: https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/issues/420


Files

clear_cache-master.patch (588 Bytes) clear_cache-master.patch Anders Thomsen, 2019-04-20 08:45
clear_cache-3.4-stable.patch (583 Bytes) clear_cache-3.4-stable.patch Anders Thomsen, 2019-04-20 08:45

Related issues

Related to Redmine - Defect #30285: Microsoft SQL server support is brokenClosedGo MAEDA

Actions
Related to Redmine - Defect #24402: sqlserver2014: db:migrate failedClosed

Actions
Actions

Also available in: Atom PDF