{"action":"created","issue":{"url":"https://api.github.com/repos/Yapeal/yapeal-ng/issues/2","labels_url":"https://api.github.com/repos/Yapeal/yapeal-ng/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Yapeal/yapeal-ng/issues/2/comments","events_url":"https://api.github.com/repos/Yapeal/yapeal-ng/issues/2/events","html_url":"https://github.com/Yapeal/yapeal-ng/issues/2","id":121933173,"number":2,"title":"sql files in wrong directory to initialize the DB.","user":{"login":"swerrie","id":8779177,"avatar_url":"https://avatars.githubusercontent.com/u/8779177?v=3","gravatar_id":"","url":"https://api.github.com/users/swerrie","html_url":"https://github.com/swerrie","followers_url":"https://api.github.com/users/swerrie/followers","following_url":"https://api.github.com/users/swerrie/following{/other_user}","gists_url":"https://api.github.com/users/swerrie/gists{/gist_id}","starred_url":"https://api.github.com/users/swerrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swerrie/subscriptions","organizations_url":"https://api.github.com/users/swerrie/orgs","repos_url":"https://api.github.com/users/swerrie/repos","events_url":"https://api.github.com/users/swerrie/events{/privacy}","received_events_url":"https://api.github.com/users/swerrie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Yapeal/yapeal-ng/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"Dragonrun1","id":1431541,"avatar_url":"https://avatars.githubusercontent.com/u/1431541?v=3","gravatar_id":"","url":"https://api.github.com/users/Dragonrun1","html_url":"https://github.com/Dragonrun1","followers_url":"https://api.github.com/users/Dragonrun1/followers","following_url":"https://api.github.com/users/Dragonrun1/following{/other_user}","gists_url":"https://api.github.com/users/Dragonrun1/gists{/gist_id}","starred_url":"https://api.github.com/users/Dragonrun1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dragonrun1/subscriptions","organizations_url":"https://api.github.com/users/Dragonrun1/orgs","repos_url":"https://api.github.com/users/Dragonrun1/repos","events_url":"https://api.github.com/users/Dragonrun1/events{/privacy}","received_events_url":"https://api.github.com/users/Dragonrun1/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Yapeal/yapeal-ng/milestones/1","html_url":"https://github.com/Yapeal/yapeal-ng/milestones/1.0.0","labels_url":"https://api.github.com/repos/Yapeal/yapeal-ng/milestones/1/labels","id":1457557,"number":1,"title":"1.0.0","description":null,"creator":{"login":"Dragonrun1","id":1431541,"avatar_url":"https://avatars.githubusercontent.com/u/1431541?v=3","gravatar_id":"","url":"https://api.github.com/users/Dragonrun1","html_url":"https://github.com/Dragonrun1","followers_url":"https://api.github.com/users/Dragonrun1/followers","following_url":"https://api.github.com/users/Dragonrun1/following{/other_user}","gists_url":"https://api.github.com/users/Dragonrun1/gists{/gist_id}","starred_url":"https://api.github.com/users/Dragonrun1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dragonrun1/subscriptions","organizations_url":"https://api.github.com/users/Dragonrun1/orgs","repos_url":"https://api.github.com/users/Dragonrun1/repos","events_url":"https://api.github.com/users/Dragonrun1/events{/privacy}","received_events_url":"https://api.github.com/users/Dragonrun1/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2015-12-12T23:17:01Z","updated_at":"2015-12-13T19:34:45Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-12-13T17:51:00Z","updated_at":"2015-12-13T19:48:37Z","closed_at":null,"body":"I had to manually move the sql files in /lib/Sql (and the updates folder) to /lib/Sql/Database/ for the php bin/yc D:I to work."},"comment":{"url":"https://api.github.com/repos/Yapeal/yapeal-ng/issues/comments/164292065","html_url":"https://github.com/Yapeal/yapeal-ng/issues/2#issuecomment-164292065","issue_url":"https://api.github.com/repos/Yapeal/yapeal-ng/issues/2","id":164292065,"user":{"login":"Dragonrun1","id":1431541,"avatar_url":"https://avatars.githubusercontent.com/u/1431541?v=3","gravatar_id":"","url":"https://api.github.com/users/Dragonrun1","html_url":"https://github.com/Dragonrun1","followers_url":"https://api.github.com/users/Dragonrun1/followers","following_url":"https://api.github.com/users/Dragonrun1/following{/other_user}","gists_url":"https://api.github.com/users/Dragonrun1/gists{/gist_id}","starred_url":"https://api.github.com/users/Dragonrun1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dragonrun1/subscriptions","organizations_url":"https://api.github.com/users/Dragonrun1/orgs","repos_url":"https://api.github.com/users/Dragonrun1/repos","events_url":"https://api.github.com/users/Dragonrun1/events{/privacy}","received_events_url":"https://api.github.com/users/Dragonrun1/received_events","type":"User","site_admin":false},"created_at":"2015-12-13T19:48:37Z","updated_at":"2015-12-13T19:48:37Z","body":"Actual Database stuff is going away / moving to Sql instead. BTW at this time Yapeal-ng only creates the DB but does NOT create any of the tables because the new code has not been completed yet. To make it easier for new API create code to work each API or possible every table will end up in their own files. For example where there were lib/Sql/Create*Tables.sql before there will be now be lib/Sql/{section}/{api}.sql or lib/Sql/{section}/{table}.sql. My current thinking is per API but if per table is easier I'll switch. Updates should be mostly unchanged and still use a date-time based name."}}