{"action":"created","issue":{"url":"https://api.github.com/repos/processone/ejabberd/issues/476","labels_url":"https://api.github.com/repos/processone/ejabberd/issues/476/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/476/comments","events_url":"https://api.github.com/repos/processone/ejabberd/issues/476/events","html_url":"https://github.com/processone/ejabberd/pull/476","id":61917178,"number":476,"title":"Add sqlite support","user":{"login":"saa","id":291272,"avatar_url":"https://avatars.githubusercontent.com/u/291272?v=3","gravatar_id":"","url":"https://api.github.com/users/saa","html_url":"https://github.com/saa","followers_url":"https://api.github.com/users/saa/followers","following_url":"https://api.github.com/users/saa/following{/other_user}","gists_url":"https://api.github.com/users/saa/gists{/gist_id}","starred_url":"https://api.github.com/users/saa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saa/subscriptions","organizations_url":"https://api.github.com/users/saa/orgs","repos_url":"https://api.github.com/users/saa/repos","events_url":"https://api.github.com/users/saa/events{/privacy}","received_events_url":"https://api.github.com/users/saa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-15T23:14:04Z","updated_at":"2015-03-16T17:33:05Z","closed_at":"2015-03-16T10:48:04Z","pull_request":{"url":"https://api.github.com/repos/processone/ejabberd/pulls/476","html_url":"https://github.com/processone/ejabberd/pull/476","diff_url":"https://github.com/processone/ejabberd/pull/476.diff","patch_url":"https://github.com/processone/ejabberd/pull/476.patch"},"body":"Hi.\r\nI added support SQLite3. But I have one question: for this case \"Provide empty sqlite file structure as a starting point to use ejabberd with SQLite\" (from issue #459), also need install sql/lite.sql. Path $PREFIX/lib/ejabberd/priv/sql/lite.sql it's ok?"},"comment":{"url":"https://api.github.com/repos/processone/ejabberd/issues/comments/81828528","html_url":"https://github.com/processone/ejabberd/pull/476#issuecomment-81828528","issue_url":"https://api.github.com/repos/processone/ejabberd/issues/476","id":81828528,"user":{"login":"mremond","id":86736,"avatar_url":"https://avatars.githubusercontent.com/u/86736?v=3","gravatar_id":"","url":"https://api.github.com/users/mremond","html_url":"https://github.com/mremond","followers_url":"https://api.github.com/users/mremond/followers","following_url":"https://api.github.com/users/mremond/following{/other_user}","gists_url":"https://api.github.com/users/mremond/gists{/gist_id}","starred_url":"https://api.github.com/users/mremond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mremond/subscriptions","organizations_url":"https://api.github.com/users/mremond/orgs","repos_url":"https://api.github.com/users/mremond/repos","events_url":"https://api.github.com/users/mremond/events{/privacy}","received_events_url":"https://api.github.com/users/mremond/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T17:33:05Z","updated_at":"2015-03-16T17:33:05Z","body":"@saa Thanks, Please send us a pull request that is clean for integration, it will help.\r\n\r\nRegarding your question: Mnesia database is created in $PREFIX/var/lib/ejabberd/\r\nWe should probably create sqlite empty structure in:\r\n$PREFIX/var/lib/ejabberd/ejabberd-sqlite/lite.sql\r\n\r\nNote that if the file already exist, it should not be overwritten to avoid data loss, but should be created as lite.sql-new\r\n\r\n@zinid does it make sense ?"}}