{"action":"created","issue":{"url":"https://api.github.com/repos/propelorm/Propel2/issues/895","labels_url":"https://api.github.com/repos/propelorm/Propel2/issues/895/labels{/name}","comments_url":"https://api.github.com/repos/propelorm/Propel2/issues/895/comments","events_url":"https://api.github.com/repos/propelorm/Propel2/issues/895/events","html_url":"https://github.com/propelorm/Propel2/issues/895","id":60657405,"number":895,"title":"Wrong type definition in generated migration","user":{"login":"kairichard","id":35398,"avatar_url":"https://avatars.githubusercontent.com/u/35398?v=3","gravatar_id":"","url":"https://api.github.com/users/kairichard","html_url":"https://github.com/kairichard","followers_url":"https://api.github.com/users/kairichard/followers","following_url":"https://api.github.com/users/kairichard/following{/other_user}","gists_url":"https://api.github.com/users/kairichard/gists{/gist_id}","starred_url":"https://api.github.com/users/kairichard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kairichard/subscriptions","organizations_url":"https://api.github.com/users/kairichard/orgs","repos_url":"https://api.github.com/users/kairichard/repos","events_url":"https://api.github.com/users/kairichard/events{/privacy}","received_events_url":"https://api.github.com/users/kairichard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-11T13:24:45Z","updated_at":"2015-05-07T10:30:11Z","closed_at":null,"body":"When working with a legacy database that has field like the following\r\n\r\n```mysql\r\n  `field_name` decimal(10,3) DEFAULT '1.000' NOT NULL\r\n```\r\n\r\npropel generates a wrong migration omitting the `10,3` in the type definition\r\n\r\nThis can be reproduced using `make test` from https://github.com/kairichard/propel-issue-decimal-default where a second migration will be created because the schema does not match with the generated migration."},"comment":{"url":"https://api.github.com/repos/propelorm/Propel2/issues/comments/99807579","html_url":"https://github.com/propelorm/Propel2/issues/895#issuecomment-99807579","issue_url":"https://api.github.com/repos/propelorm/Propel2/issues/895","id":99807579,"user":{"login":"robin850","id":354185,"avatar_url":"https://avatars.githubusercontent.com/u/354185?v=3","gravatar_id":"","url":"https://api.github.com/users/robin850","html_url":"https://github.com/robin850","followers_url":"https://api.github.com/users/robin850/followers","following_url":"https://api.github.com/users/robin850/following{/other_user}","gists_url":"https://api.github.com/users/robin850/gists{/gist_id}","starred_url":"https://api.github.com/users/robin850/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robin850/subscriptions","organizations_url":"https://api.github.com/users/robin850/orgs","repos_url":"https://api.github.com/users/robin850/repos","events_url":"https://api.github.com/users/robin850/events{/privacy}","received_events_url":"https://api.github.com/users/robin850/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T10:30:11Z","updated_at":"2015-05-07T10:30:11Z","body":"It looks like this can be closed as well since #898 has been merged."}}