{"action":"created","issue":{"url":"https://api.github.com/repos/demopark/sequelize-docs-Zh-CN/issues/20","repository_url":"https://api.github.com/repos/demopark/sequelize-docs-Zh-CN","labels_url":"https://api.github.com/repos/demopark/sequelize-docs-Zh-CN/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/demopark/sequelize-docs-Zh-CN/issues/20/comments","events_url":"https://api.github.com/repos/demopark/sequelize-docs-Zh-CN/issues/20/events","html_url":"https://github.com/demopark/sequelize-docs-Zh-CN/issues/20","id":381420924,"node_id":"MDU6SXNzdWUzODE0MjA5MjQ=","number":20,"title":"sequelize.TYPE and sequelize.sync() ","user":{"login":"jzwyz","id":32916897,"node_id":"MDQ6VXNlcjMyOTE2ODk3","avatar_url":"https://avatars0.githubusercontent.com/u/32916897?v=4","gravatar_id":"","url":"https://api.github.com/users/jzwyz","html_url":"https://github.com/jzwyz","followers_url":"https://api.github.com/users/jzwyz/followers","following_url":"https://api.github.com/users/jzwyz/following{/other_user}","gists_url":"https://api.github.com/users/jzwyz/gists{/gist_id}","starred_url":"https://api.github.com/users/jzwyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzwyz/subscriptions","organizations_url":"https://api.github.com/users/jzwyz/orgs","repos_url":"https://api.github.com/users/jzwyz/repos","events_url":"https://api.github.com/users/jzwyz/events{/privacy}","received_events_url":"https://api.github.com/users/jzwyz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-16T02:32:06Z","updated_at":"2018-11-16T02:33:27Z","closed_at":null,"author_association":"NONE","body":"I want to migrate the tables in the old database to the new database via sequelize.\r\nHowever, there is no \"FK\" defined in my \"module\", and the new database will have an \"FK\" constraint error when creating the table ( module.sync({forec: true}) ).\r\nHow can I avoid this problem?\r\n\r\nAnd sequlize.STRING corresponds to the VARCHAR type, but to the new database is the NVARCHAR type.\r\n\r\ndatabase： MSSQL\r\nsequelize:   v4.38.0"},"comment":{"url":"https://api.github.com/repos/demopark/sequelize-docs-Zh-CN/issues/comments/439261525","html_url":"https://github.com/demopark/sequelize-docs-Zh-CN/issues/20#issuecomment-439261525","issue_url":"https://api.github.com/repos/demopark/sequelize-docs-Zh-CN/issues/20","id":439261525,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTI2MTUyNQ==","user":{"login":"jzwyz","id":32916897,"node_id":"MDQ6VXNlcjMyOTE2ODk3","avatar_url":"https://avatars0.githubusercontent.com/u/32916897?v=4","gravatar_id":"","url":"https://api.github.com/users/jzwyz","html_url":"https://github.com/jzwyz","followers_url":"https://api.github.com/users/jzwyz/followers","following_url":"https://api.github.com/users/jzwyz/following{/other_user}","gists_url":"https://api.github.com/users/jzwyz/gists{/gist_id}","starred_url":"https://api.github.com/users/jzwyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzwyz/subscriptions","organizations_url":"https://api.github.com/users/jzwyz/orgs","repos_url":"https://api.github.com/users/jzwyz/repos","events_url":"https://api.github.com/users/jzwyz/events{/privacy}","received_events_url":"https://api.github.com/users/jzwyz/received_events","type":"User","site_admin":false},"created_at":"2018-11-16T02:33:27Z","updated_at":"2018-11-16T02:33:27Z","author_association":"NONE","body":"In the old table, there is a \"FK\" constraint."}}
{"actor":{"display_login":"jzwyz"}}