{"action":"created","issue":{"url":"https://api.github.com/repos/SchemaPlus/schema_plus/issues/170","labels_url":"https://api.github.com/repos/SchemaPlus/schema_plus/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/SchemaPlus/schema_plus/issues/170/comments","events_url":"https://api.github.com/repos/SchemaPlus/schema_plus/issues/170/events","html_url":"https://github.com/SchemaPlus/schema_plus/issues/170","id":42270387,"number":170,"title":"Incompatible with MigrationComments","user":{"login":"dmeranda","id":789491,"avatar_url":"https://avatars.githubusercontent.com/u/789491?v=3","gravatar_id":"","url":"https://api.github.com/users/dmeranda","html_url":"https://github.com/dmeranda","followers_url":"https://api.github.com/users/dmeranda/followers","following_url":"https://api.github.com/users/dmeranda/following{/other_user}","gists_url":"https://api.github.com/users/dmeranda/gists{/gist_id}","starred_url":"https://api.github.com/users/dmeranda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmeranda/subscriptions","organizations_url":"https://api.github.com/users/dmeranda/orgs","repos_url":"https://api.github.com/users/dmeranda/repos","events_url":"https://api.github.com/users/dmeranda/events{/privacy}","received_events_url":"https://api.github.com/users/dmeranda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-09-09T04:45:16Z","updated_at":"2015-10-12T01:19:31Z","closed_at":null,"body":"I'm not sure if this is a bug with **schema_plus**, or with **migration_comments**, but the two gems do not cooperate when rules from each are used on the same column.  If this is a bug in the other gem I can re-post the issue there; but there seem to be more eyeballs here.  See https://github.com/pinnymz/migration_comments\r\n\r\nAn example:\r\n```ruby\r\ncreate_table \"table_a\" do |t|\r\n  t.integer :something_id, :references => nil, :comment => 'Foo bar'\r\nend\r\n```\r\nThe :references option does not seem to be processed by schema_plus when there is also a :comment option, which causes schema_plus to attempt to create a default foreign key when it should not.\r\n\r\nUsing:\r\n* schema_plus 1.5.3  (latest)\r\n* migration_comments 0.3.2 (latest)\r\n* Rails ActiveRecord 3.2.16\r\n* MySQL\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SchemaPlus/schema_plus/issues/comments/147269287","html_url":"https://github.com/SchemaPlus/schema_plus/issues/170#issuecomment-147269287","issue_url":"https://api.github.com/repos/SchemaPlus/schema_plus/issues/170","id":147269287,"user":{"login":"lowjoel","id":2505070,"avatar_url":"https://avatars.githubusercontent.com/u/2505070?v=3","gravatar_id":"","url":"https://api.github.com/users/lowjoel","html_url":"https://github.com/lowjoel","followers_url":"https://api.github.com/users/lowjoel/followers","following_url":"https://api.github.com/users/lowjoel/following{/other_user}","gists_url":"https://api.github.com/users/lowjoel/gists{/gist_id}","starred_url":"https://api.github.com/users/lowjoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lowjoel/subscriptions","organizations_url":"https://api.github.com/users/lowjoel/orgs","repos_url":"https://api.github.com/users/lowjoel/repos","events_url":"https://api.github.com/users/lowjoel/events{/privacy}","received_events_url":"https://api.github.com/users/lowjoel/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T01:19:31Z","updated_at":"2015-10-12T01:19:31Z","body":"cc @ronen, re SchemaPlus/schema_monkey#6"}}