Project

General

Profile

Actions

Defect #13986

closed

db:migrate on MSSQL 2012 fails with error

Added by Kyle Butler over 12 years ago. Updated over 5 years ago.

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

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

==  CreateJournals: migrating =================================================
-- create_table(:journals, {:force=>true})
   -> 0.2627s
   -> -1 rows
-- create_table(:journal_details, {:force=>true})
   -> 0.2675s
   -> -1 rows
-- add_index("journals", ["journalized_id", "journalized_type"], {:name=>"journals_journalized_id"})
   -> 0.1291s
   -> -1 rows
-- add_index("journal_details", ["journal_id"], {:name=>"journal_details_journal_id"})
   -> 0.1290s
   -> -1 rows
rake aborted!
An error has occurred, this and all later migrations canceled:

TinyTds::Error: Unicode data in a Unicode-only collation or ntext data cannot be sent to clients using DB-Library (such as ISQL) or ODBC version 3.7 or earlier.: EXEC sp_executesql N'SELECT [issue_histories].* FROM [issue_histories]'/opt/redmine-2.3.1/db/migrate/007_create_journals.rb:31:in `up'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)

Actions

Also available in: Atom PDF