{"action":"created","issue":{"url":"https://api.github.com/repos/rails-sqlserver/activerecord-sqlserver-adapter/issues/521","repository_url":"https://api.github.com/repos/rails-sqlserver/activerecord-sqlserver-adapter","labels_url":"https://api.github.com/repos/rails-sqlserver/activerecord-sqlserver-adapter/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/rails-sqlserver/activerecord-sqlserver-adapter/issues/521/comments","events_url":"https://api.github.com/repos/rails-sqlserver/activerecord-sqlserver-adapter/issues/521/events","html_url":"https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/issues/521","id":184172203,"number":521,"title":"Throw error when add table_name_prefix","user":{"login":"colorfulberry","id":8124046,"avatar_url":"https://avatars.githubusercontent.com/u/8124046?v=3","gravatar_id":"","url":"https://api.github.com/users/colorfulberry","html_url":"https://github.com/colorfulberry","followers_url":"https://api.github.com/users/colorfulberry/followers","following_url":"https://api.github.com/users/colorfulberry/following{/other_user}","gists_url":"https://api.github.com/users/colorfulberry/gists{/gist_id}","starred_url":"https://api.github.com/users/colorfulberry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colorfulberry/subscriptions","organizations_url":"https://api.github.com/users/colorfulberry/orgs","repos_url":"https://api.github.com/users/colorfulberry/repos","events_url":"https://api.github.com/users/colorfulberry/events{/privacy}","received_events_url":"https://api.github.com/users/colorfulberry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-20T09:00:46Z","updated_at":"2016-11-04T15:52:33Z","closed_at":null,"body":"When i add \n`ActiveRecord::Base.table_name_prefix = 'dbo.'`\nthere was an error\n\n```\nStandardError: An error has occurred, this and all later migrations canceled:  TinyTds::Error: Incorrect syntax near '.'.: CREATE UNIQUE INDEX [index_dbo].[users_on_email] ON [dbo].[users] ([email])\n```\n"},"comment":{"url":"https://api.github.com/repos/rails-sqlserver/activerecord-sqlserver-adapter/issues/comments/258469837","html_url":"https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/issues/521#issuecomment-258469837","issue_url":"https://api.github.com/repos/rails-sqlserver/activerecord-sqlserver-adapter/issues/521","id":258469837,"user":{"login":"ChrisLusted","id":483625,"avatar_url":"https://avatars.githubusercontent.com/u/483625?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisLusted","html_url":"https://github.com/ChrisLusted","followers_url":"https://api.github.com/users/ChrisLusted/followers","following_url":"https://api.github.com/users/ChrisLusted/following{/other_user}","gists_url":"https://api.github.com/users/ChrisLusted/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisLusted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisLusted/subscriptions","organizations_url":"https://api.github.com/users/ChrisLusted/orgs","repos_url":"https://api.github.com/users/ChrisLusted/repos","events_url":"https://api.github.com/users/ChrisLusted/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisLusted/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T15:52:33Z","updated_at":"2016-11-04T15:52:33Z","body":"Have got the same issue.\r\n\r\nDid you manage to fix @colorfulberry?\r\n"}}
{"actor":{"display_login":"ChrisLusted"}}