{"action":"opened","issue":{"url":"https://api.github.com/repos/GroundApps/ShoppingList_Backend/issues/48","labels_url":"https://api.github.com/repos/GroundApps/ShoppingList_Backend/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/GroundApps/ShoppingList_Backend/issues/48/comments","events_url":"https://api.github.com/repos/GroundApps/ShoppingList_Backend/issues/48/events","html_url":"https://github.com/GroundApps/ShoppingList_Backend/issues/48","id":108149420,"number":48,"title":"Create database in INSTALL.php","user":{"login":"jklmnn","id":7999005,"avatar_url":"https://avatars.githubusercontent.com/u/7999005?v=3","gravatar_id":"","url":"https://api.github.com/users/jklmnn","html_url":"https://github.com/jklmnn","followers_url":"https://api.github.com/users/jklmnn/followers","following_url":"https://api.github.com/users/jklmnn/following{/other_user}","gists_url":"https://api.github.com/users/jklmnn/gists{/gist_id}","starred_url":"https://api.github.com/users/jklmnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jklmnn/subscriptions","organizations_url":"https://api.github.com/users/jklmnn/orgs","repos_url":"https://api.github.com/users/jklmnn/repos","events_url":"https://api.github.com/users/jklmnn/events{/privacy}","received_events_url":"https://api.github.com/users/jklmnn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GroundApps/ShoppingList_Backend/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"beli3ver","id":7816755,"avatar_url":"https://avatars.githubusercontent.com/u/7816755?v=3","gravatar_id":"","url":"https://api.github.com/users/beli3ver","html_url":"https://github.com/beli3ver","followers_url":"https://api.github.com/users/beli3ver/followers","following_url":"https://api.github.com/users/beli3ver/following{/other_user}","gists_url":"https://api.github.com/users/beli3ver/gists{/gist_id}","starred_url":"https://api.github.com/users/beli3ver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beli3ver/subscriptions","organizations_url":"https://api.github.com/users/beli3ver/orgs","repos_url":"https://api.github.com/users/beli3ver/repos","events_url":"https://api.github.com/users/beli3ver/events{/privacy}","received_events_url":"https://api.github.com/users/beli3ver/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/GroundApps/ShoppingList_Backend/milestones/5","html_url":"https://github.com/GroundApps/ShoppingList_Backend/milestones/Version%201.1","labels_url":"https://api.github.com/repos/GroundApps/ShoppingList_Backend/milestones/5/labels","id":1320238,"number":5,"title":"Version 1.1","description":"Version 1.1 of the ShoppingList backend.","creator":{"login":"jklmnn","id":7999005,"avatar_url":"https://avatars.githubusercontent.com/u/7999005?v=3","gravatar_id":"","url":"https://api.github.com/users/jklmnn","html_url":"https://github.com/jklmnn","followers_url":"https://api.github.com/users/jklmnn/followers","following_url":"https://api.github.com/users/jklmnn/following{/other_user}","gists_url":"https://api.github.com/users/jklmnn/gists{/gist_id}","starred_url":"https://api.github.com/users/jklmnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jklmnn/subscriptions","organizations_url":"https://api.github.com/users/jklmnn/orgs","repos_url":"https://api.github.com/users/jklmnn/repos","events_url":"https://api.github.com/users/jklmnn/events{/privacy}","received_events_url":"https://api.github.com/users/jklmnn/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2015-09-23T12:20:25Z","updated_at":"2015-09-24T15:03:31Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-09-24T15:03:31Z","updated_at":"2015-09-24T15:03:31Z","closed_at":null,"body":"Can we create the databases in the INSTALL.php file? Since this just needs to be done once.\r\nI would also provide a init() function in the pdo class (see #38 ) that would create the table according to #47 . But due to the abstraction the database cannot be easily created there.\r\nThe init() function should be called after database creation. All necessary informations should be already in the config file (because the new database connector takes the config array as second argument."}}