{"action":"created","issue":{"url":"https://api.github.com/repos/EnterpriseDB/mysql_fdw/issues/48","labels_url":"https://api.github.com/repos/EnterpriseDB/mysql_fdw/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/EnterpriseDB/mysql_fdw/issues/48/comments","events_url":"https://api.github.com/repos/EnterpriseDB/mysql_fdw/issues/48/events","html_url":"https://github.com/EnterpriseDB/mysql_fdw/issues/48","id":60102475,"number":48,"title":"The default functionality in create table is not working","user":{"login":"ahsanhadi","id":7973540,"avatar_url":"https://avatars.githubusercontent.com/u/7973540?v=3","gravatar_id":"","url":"https://api.github.com/users/ahsanhadi","html_url":"https://github.com/ahsanhadi","followers_url":"https://api.github.com/users/ahsanhadi/followers","following_url":"https://api.github.com/users/ahsanhadi/following{/other_user}","gists_url":"https://api.github.com/users/ahsanhadi/gists{/gist_id}","starred_url":"https://api.github.com/users/ahsanhadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahsanhadi/subscriptions","organizations_url":"https://api.github.com/users/ahsanhadi/orgs","repos_url":"https://api.github.com/users/ahsanhadi/repos","events_url":"https://api.github.com/users/ahsanhadi/events{/privacy}","received_events_url":"https://api.github.com/users/ahsanhadi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/EnterpriseDB/mysql_fdw/labels/enhancement","name":"enhancement","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-06T13:37:19Z","updated_at":"2015-04-14T11:44:45Z","closed_at":null,"body":"CREATE TABLE content_html (id int(11) default 10, id_box_elements int(11), id_router int(11),   PRIMARY KEY (id), UNIQUE KEY id_box_elements (id_box_elements,id_router));\r\n\r\nThis insert from PPAS foreign table should succeed...it works when issues directly in mysql.\r\n\r\nedb=# insert into content_html (id_box_elements,id_router) values (20,30);\r\n2015-03-05 23:07:27 PKT LOG:  statement: insert into content_html (id_box_elements,id_router) values (20,30);\r\n2015-03-05 23:07:27 PKT ERROR:  failed to execute the MySQL query: \r\n\tColumn 'id' cannot be null\r\n2015-03-05 23:07:27 PKT STATEMENT:  insert into content_html (id_box_elements,id_router) values (20,30);\r\nERROR:  failed to execute the MySQL query: \r\nColumn 'id' cannot be null\r\n"},"comment":{"url":"https://api.github.com/repos/EnterpriseDB/mysql_fdw/issues/comments/92780121","html_url":"https://github.com/EnterpriseDB/mysql_fdw/issues/48#issuecomment-92780121","issue_url":"https://api.github.com/repos/EnterpriseDB/mysql_fdw/issues/48","id":92780121,"user":{"login":"ahsanhadi","id":7973540,"avatar_url":"https://avatars.githubusercontent.com/u/7973540?v=3","gravatar_id":"","url":"https://api.github.com/users/ahsanhadi","html_url":"https://github.com/ahsanhadi","followers_url":"https://api.github.com/users/ahsanhadi/followers","following_url":"https://api.github.com/users/ahsanhadi/following{/other_user}","gists_url":"https://api.github.com/users/ahsanhadi/gists{/gist_id}","starred_url":"https://api.github.com/users/ahsanhadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahsanhadi/subscriptions","organizations_url":"https://api.github.com/users/ahsanhadi/orgs","repos_url":"https://api.github.com/users/ahsanhadi/repos","events_url":"https://api.github.com/users/ahsanhadi/events{/privacy}","received_events_url":"https://api.github.com/users/ahsanhadi/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T11:44:45Z","updated_at":"2015-04-14T11:44:45Z","body":"Just to clarify the feature request here is to add support for default clause in create table statement..."}}