{"action":"opened","number":522,"pull_request":{"url":"https://api.github.com/repos/alextselegidis/easyappointments/pulls/522","id":200408235,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwNDA4MjM1","html_url":"https://github.com/alextselegidis/easyappointments/pull/522","diff_url":"https://github.com/alextselegidis/easyappointments/pull/522.diff","patch_url":"https://github.com/alextselegidis/easyappointments/pull/522.patch","issue_url":"https://api.github.com/repos/alextselegidis/easyappointments/issues/522","number":522,"state":"open","locked":false,"title":"Fix MySQL/MariaDB 5.5.x  backward compatibility issue with 'ea_consents' table (#518)","user":{"login":"oxteam","id":38721222,"node_id":"MDQ6VXNlcjM4NzIxMjIy","avatar_url":"https://avatars2.githubusercontent.com/u/38721222?v=4","gravatar_id":"","url":"https://api.github.com/users/oxteam","html_url":"https://github.com/oxteam","followers_url":"https://api.github.com/users/oxteam/followers","following_url":"https://api.github.com/users/oxteam/following{/other_user}","gists_url":"https://api.github.com/users/oxteam/gists{/gist_id}","starred_url":"https://api.github.com/users/oxteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oxteam/subscriptions","organizations_url":"https://api.github.com/users/oxteam/orgs","repos_url":"https://api.github.com/users/oxteam/repos","events_url":"https://api.github.com/users/oxteam/events{/privacy}","received_events_url":"https://api.github.com/users/oxteam/received_events","type":"User","site_admin":false},"body":"This change allows the creation and migration scripts to run on MySQL/MariaDB 5.5.x versions.\r\n\r\nAs explained in Ticket #518, old versions of MySQL/MariaDB do not support the way the `created`and `modified` field are declared. Because these old versions are still the default package used on long term support Linux distros (RHEL/CentOS), it is interesting to still be compatible with these DB engine versions.\r\n\r\nThe fix consists in:\r\n- Using a `TIMESTAMP` type for the fields;\r\n- Creating first the `modified` field to have it auto-updated according to the current timestamp;\r\n- Setting the `created` field value in the 'Consents' model.\r\n","created_at":"2018-07-10T14:05:34Z","updated_at":"2018-07-10T14:05:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/alextselegidis/easyappointments/pulls/522/commits","review_comments_url":"https://api.github.com/repos/alextselegidis/easyappointments/pulls/522/comments","review_comment_url":"https://api.github.com/repos/alextselegidis/easyappointments/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alextselegidis/easyappointments/issues/522/comments","statuses_url":"https://api.github.com/repos/alextselegidis/easyappointments/statuses/3dde409f729067ba21fcb1b8a10ce03a35484623","head":{"label":"oxteam:oxteam-fix_gpdr_sql_backward_comp","ref":"oxteam-fix_gpdr_sql_backward_comp","sha":"3dde409f729067ba21fcb1b8a10ce03a35484623","user":{"login":"oxteam","id":38721222,"node_id":"MDQ6VXNlcjM4NzIxMjIy","avatar_url":"https://avatars2.githubusercontent.com/u/38721222?v=4","gravatar_id":"","url":"https://api.github.com/users/oxteam","html_url":"https://github.com/oxteam","followers_url":"https://api.github.com/users/oxteam/followers","following_url":"https://api.github.com/users/oxteam/following{/other_user}","gists_url":"https://api.github.com/users/oxteam/gists{/gist_id}","starred_url":"https://api.github.com/users/oxteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oxteam/subscriptions","organizations_url":"https://api.github.com/users/oxteam/orgs","repos_url":"https://api.github.com/users/oxteam/repos","events_url":"https://api.github.com/users/oxteam/events{/privacy}","received_events_url":"https://api.github.com/users/oxteam/received_events","type":"User","site_admin":false},"repo":{"id":131013686,"node_id":"MDEwOlJlcG9zaXRvcnkxMzEwMTM2ODY=","name":"easyappointments","full_name":"oxteam/easyappointments","owner":{"login":"oxteam","id":38721222,"node_id":"MDQ6VXNlcjM4NzIxMjIy","avatar_url":"https://avatars2.githubusercontent.com/u/38721222?v=4","gravatar_id":"","url":"https://api.github.com/users/oxteam","html_url":"https://github.com/oxteam","followers_url":"https://api.github.com/users/oxteam/followers","following_url":"https://api.github.com/users/oxteam/following{/other_user}","gists_url":"https://api.github.com/users/oxteam/gists{/gist_id}","starred_url":"https://api.github.com/users/oxteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oxteam/subscriptions","organizations_url":"https://api.github.com/users/oxteam/orgs","repos_url":"https://api.github.com/users/oxteam/repos","events_url":"https://api.github.com/users/oxteam/events{/privacy}","received_events_url":"https://api.github.com/users/oxteam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oxteam/easyappointments","description":":date: Easy!Appointments - Open Source Appointment Scheduler","fork":true,"url":"https://api.github.com/repos/oxteam/easyappointments","forks_url":"https://api.github.com/repos/oxteam/easyappointments/forks","keys_url":"https://api.github.com/repos/oxteam/easyappointments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oxteam/easyappointments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oxteam/easyappointments/teams","hooks_url":"https://api.github.com/repos/oxteam/easyappointments/hooks","issue_events_url":"https://api.github.com/repos/oxteam/easyappointments/issues/events{/number}","events_url":"https://api.github.com/repos/oxteam/easyappointments/events","assignees_url":"https://api.github.com/repos/oxteam/easyappointments/assignees{/user}","branches_url":"https://api.github.com/repos/oxteam/easyappointments/branches{/branch}","tags_url":"https://api.github.com/repos/oxteam/easyappointments/tags","blobs_url":"https://api.github.com/repos/oxteam/easyappointments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oxteam/easyappointments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oxteam/easyappointments/git/refs{/sha}","trees_url":"https://api.github.com/repos/oxteam/easyappointments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oxteam/easyappointments/statuses/{sha}","languages_url":"https://api.github.com/repos/oxteam/easyappointments/languages","stargazers_url":"https://api.github.com/repos/oxteam/easyappointments/stargazers","contributors_url":"https://api.github.com/repos/oxteam/easyappointments/contributors","subscribers_url":"https://api.github.com/repos/oxteam/easyappointments/subscribers","subscription_url":"https://api.github.com/repos/oxteam/easyappointments/subscription","commits_url":"https://api.github.com/repos/oxteam/easyappointments/commits{/sha}","git_commits_url":"https://api.github.com/repos/oxteam/easyappointments/git/commits{/sha}","comments_url":"https://api.github.com/repos/oxteam/easyappointments/comments{/number}","issue_comment_url":"https://api.github.com/repos/oxteam/easyappointments/issues/comments{/number}","contents_url":"https://api.github.com/repos/oxteam/easyappointments/contents/{+path}","compare_url":"https://api.github.com/repos/oxteam/easyappointments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oxteam/easyappointments/merges","archive_url":"https://api.github.com/repos/oxteam/easyappointments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oxteam/easyappointments/downloads","issues_url":"https://api.github.com/repos/oxteam/easyappointments/issues{/number}","pulls_url":"https://api.github.com/repos/oxteam/easyappointments/pulls{/number}","milestones_url":"https://api.github.com/repos/oxteam/easyappointments/milestones{/number}","notifications_url":"https://api.github.com/repos/oxteam/easyappointments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oxteam/easyappointments/labels{/name}","releases_url":"https://api.github.com/repos/oxteam/easyappointments/releases{/id}","deployments_url":"https://api.github.com/repos/oxteam/easyappointments/deployments","created_at":"2018-04-25T13:50:24Z","updated_at":"2018-06-28T15:45:01Z","pushed_at":"2018-07-10T13:51:45Z","git_url":"git://github.com/oxteam/easyappointments.git","ssh_url":"git@github.com:oxteam/easyappointments.git","clone_url":"https://github.com/oxteam/easyappointments.git","svn_url":"https://github.com/oxteam/easyappointments","homepage":"http://easyappointments.org","size":45535,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"alextselegidis:develop","ref":"develop","sha":"a1647966dbab967e468cfe821d457cbdb83191c5","user":{"login":"alextselegidis","id":4527441,"node_id":"MDQ6VXNlcjQ1Mjc0NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/4527441?v=4","gravatar_id":"","url":"https://api.github.com/users/alextselegidis","html_url":"https://github.com/alextselegidis","followers_url":"https://api.github.com/users/alextselegidis/followers","following_url":"https://api.github.com/users/alextselegidis/following{/other_user}","gists_url":"https://api.github.com/users/alextselegidis/gists{/gist_id}","starred_url":"https://api.github.com/users/alextselegidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alextselegidis/subscriptions","organizations_url":"https://api.github.com/users/alextselegidis/orgs","repos_url":"https://api.github.com/users/alextselegidis/repos","events_url":"https://api.github.com/users/alextselegidis/events{/privacy}","received_events_url":"https://api.github.com/users/alextselegidis/received_events","type":"User","site_admin":false},"repo":{"id":27195711,"node_id":"MDEwOlJlcG9zaXRvcnkyNzE5NTcxMQ==","name":"easyappointments","full_name":"alextselegidis/easyappointments","owner":{"login":"alextselegidis","id":4527441,"node_id":"MDQ6VXNlcjQ1Mjc0NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/4527441?v=4","gravatar_id":"","url":"https://api.github.com/users/alextselegidis","html_url":"https://github.com/alextselegidis","followers_url":"https://api.github.com/users/alextselegidis/followers","following_url":"https://api.github.com/users/alextselegidis/following{/other_user}","gists_url":"https://api.github.com/users/alextselegidis/gists{/gist_id}","starred_url":"https://api.github.com/users/alextselegidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alextselegidis/subscriptions","organizations_url":"https://api.github.com/users/alextselegidis/orgs","repos_url":"https://api.github.com/users/alextselegidis/repos","events_url":"https://api.github.com/users/alextselegidis/events{/privacy}","received_events_url":"https://api.github.com/users/alextselegidis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alextselegidis/easyappointments","description":":date: Easy!Appointments - Open Source Appointment Scheduler","fork":false,"url":"https://api.github.com/repos/alextselegidis/easyappointments","forks_url":"https://api.github.com/repos/alextselegidis/easyappointments/forks","keys_url":"https://api.github.com/repos/alextselegidis/easyappointments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alextselegidis/easyappointments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alextselegidis/easyappointments/teams","hooks_url":"https://api.github.com/repos/alextselegidis/easyappointments/hooks","issue_events_url":"https://api.github.com/repos/alextselegidis/easyappointments/issues/events{/number}","events_url":"https://api.github.com/repos/alextselegidis/easyappointments/events","assignees_url":"https://api.github.com/repos/alextselegidis/easyappointments/assignees{/user}","branches_url":"https://api.github.com/repos/alextselegidis/easyappointments/branches{/branch}","tags_url":"https://api.github.com/repos/alextselegidis/easyappointments/tags","blobs_url":"https://api.github.com/repos/alextselegidis/easyappointments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alextselegidis/easyappointments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alextselegidis/easyappointments/git/refs{/sha}","trees_url":"https://api.github.com/repos/alextselegidis/easyappointments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alextselegidis/easyappointments/statuses/{sha}","languages_url":"https://api.github.com/repos/alextselegidis/easyappointments/languages","stargazers_url":"https://api.github.com/repos/alextselegidis/easyappointments/stargazers","contributors_url":"https://api.github.com/repos/alextselegidis/easyappointments/contributors","subscribers_url":"https://api.github.com/repos/alextselegidis/easyappointments/subscribers","subscription_url":"https://api.github.com/repos/alextselegidis/easyappointments/subscription","commits_url":"https://api.github.com/repos/alextselegidis/easyappointments/commits{/sha}","git_commits_url":"https://api.github.com/repos/alextselegidis/easyappointments/git/commits{/sha}","comments_url":"https://api.github.com/repos/alextselegidis/easyappointments/comments{/number}","issue_comment_url":"https://api.github.com/repos/alextselegidis/easyappointments/issues/comments{/number}","contents_url":"https://api.github.com/repos/alextselegidis/easyappointments/contents/{+path}","compare_url":"https://api.github.com/repos/alextselegidis/easyappointments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alextselegidis/easyappointments/merges","archive_url":"https://api.github.com/repos/alextselegidis/easyappointments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alextselegidis/easyappointments/downloads","issues_url":"https://api.github.com/repos/alextselegidis/easyappointments/issues{/number}","pulls_url":"https://api.github.com/repos/alextselegidis/easyappointments/pulls{/number}","milestones_url":"https://api.github.com/repos/alextselegidis/easyappointments/milestones{/number}","notifications_url":"https://api.github.com/repos/alextselegidis/easyappointments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alextselegidis/easyappointments/labels{/name}","releases_url":"https://api.github.com/repos/alextselegidis/easyappointments/releases{/id}","deployments_url":"https://api.github.com/repos/alextselegidis/easyappointments/deployments","created_at":"2014-11-26T20:51:50Z","updated_at":"2018-07-10T02:37:57Z","pushed_at":"2018-07-10T12:49:36Z","git_url":"git://github.com/alextselegidis/easyappointments.git","ssh_url":"git@github.com:alextselegidis/easyappointments.git","clone_url":"https://github.com/alextselegidis/easyappointments.git","svn_url":"https://github.com/alextselegidis/easyappointments","homepage":"http://easyappointments.org","size":45523,"stargazers_count":696,"watchers_count":696,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":387,"mirror_url":null,"archived":false,"open_issues_count":124,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":387,"open_issues":124,"watchers":696,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alextselegidis/easyappointments/pulls/522"},"html":{"href":"https://github.com/alextselegidis/easyappointments/pull/522"},"issue":{"href":"https://api.github.com/repos/alextselegidis/easyappointments/issues/522"},"comments":{"href":"https://api.github.com/repos/alextselegidis/easyappointments/issues/522/comments"},"review_comments":{"href":"https://api.github.com/repos/alextselegidis/easyappointments/pulls/522/comments"},"review_comment":{"href":"https://api.github.com/repos/alextselegidis/easyappointments/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alextselegidis/easyappointments/pulls/522/commits"},"statuses":{"href":"https://api.github.com/repos/alextselegidis/easyappointments/statuses/3dde409f729067ba21fcb1b8a10ce03a35484623"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":5,"deletions":4,"changed_files":3}}
{"actor":{"display_login":"oxteam"}}