Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Wrong quotes with sqlserver #9

Open
maxsum-corin opened this issue Apr 13, 2011 · 0 comments
Open

Wrong quotes with sqlserver #9

maxsum-corin opened this issue Apr 13, 2011 · 0 comments
Assignees

Comments

@maxsum-corin
Copy link

Hi,

Not sure if this is an issue with dm-migrations or dm-sqlserver-adapter but db:autoupgrade is using double quotes instead of single:

> rake db:autoupgrade
(in C:/Work/myproject/src/myapp)
 ~ [datamapper] Setting up the "development" environment:
 ~ [datamapper] Setting up :default repository: 'MY_DB;instance=SQL' on sqlserver
 ~ Invalid column name 'table'. (code: 207, sql state: 42S22, query: SELECT c.name FROM sysobjects as o JOIN syscolumns AS c ON o.id = c.id WHERE o.name = "table" AND c.name LIKE 'id', uri: )
 ~ Invalid column name 'table'. (code: 207, sql state: 42S22, query: SELECT c.name FROM sysobjects as o JOIN syscolumns AS c ON o.id = c.id WHERE o.name = "table" AND c.name LIKE 'id', uri: )
rake aborted!
Invalid column name 'table'.

Cheers,
Corin

@ghost ghost assigned myabc Apr 14, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants