{"action":"created","issue":{"url":"https://api.github.com/repos/Wackymax/CPOrm/issues/5","repository_url":"https://api.github.com/repos/Wackymax/CPOrm","labels_url":"https://api.github.com/repos/Wackymax/CPOrm/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Wackymax/CPOrm/issues/5/comments","events_url":"https://api.github.com/repos/Wackymax/CPOrm/issues/5/events","html_url":"https://github.com/Wackymax/CPOrm/issues/5","id":158746629,"number":5,"title":"database name","user":{"login":"yeganehaym","id":5742917,"avatar_url":"https://avatars.githubusercontent.com/u/5742917?v=3","gravatar_id":"","url":"https://api.github.com/users/yeganehaym","html_url":"https://github.com/yeganehaym","followers_url":"https://api.github.com/users/yeganehaym/followers","following_url":"https://api.github.com/users/yeganehaym/following{/other_user}","gists_url":"https://api.github.com/users/yeganehaym/gists{/gist_id}","starred_url":"https://api.github.com/users/yeganehaym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeganehaym/subscriptions","organizations_url":"https://api.github.com/users/yeganehaym/orgs","repos_url":"https://api.github.com/users/yeganehaym/repos","events_url":"https://api.github.com/users/yeganehaym/events{/privacy}","received_events_url":"https://api.github.com/users/yeganehaym/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2016-06-06T18:46:13Z","updated_at":"2016-06-08T20:27:43Z","closed_at":null,"body":"hello and thanks for orm\r\ni made a such class\r\n`public class BackupConfig implements CPOrmConfiguration {\r\n\r\n    @Override\r\n    public String getDatabaseName() {\r\n\r\n        return \"backup.db\";\r\n    }\r\n\r\n    @Override\r\n    public int getDatabaseVersion() {\r\n\r\n        return 1;\r\n    }\r\n\r\n    @Override\r\n    public boolean isQueryLoggingEnabled() {\r\n\r\n        return false;\r\n    }\r\n\r\n    @Override\r\n    public String upgradeResourceDirectory() {\r\n        return null;\r\n    }\r\n\r\n    @Override\r\n    public List<Class<?>> getDataModelObjects() {\r\n        List<Class<?>> domainObjects = new ArrayList<Class<?>>();\r\n        domainObjects.add(BackupNotebookGroup.class);\r\n        domainObjects.add(BackupNotebookPoem.class);\r\n        domainObjects.add(BackupNotebookBook.class);\r\n\r\n        domainObjects.add(BackupNotebookWriter.class);\r\n        domainObjects.add(BackupNotebookPoemGroup.class);\r\n        domainObjects.add(BackupNoteBookRhyme.class);\r\n\r\n        return domainObjects;\r\n    }\r\n}\r\n`\r\nand define it in manifest\r\n\r\n` <meta-data\r\n            android:name=\"CPORM_CONFIG\"\r\n            android:value=\"ir.plusteam.zekrekheyr.BackupHelper.Configs.BackupConfig\" />`\r\nbut database name is application.db not backup.db and doesn't have tables"},"comment":{"url":"https://api.github.com/repos/Wackymax/CPOrm/issues/comments/224716972","html_url":"https://github.com/Wackymax/CPOrm/issues/5#issuecomment-224716972","issue_url":"https://api.github.com/repos/Wackymax/CPOrm/issues/5","id":224716972,"user":{"login":"yeganehaym","id":5742917,"avatar_url":"https://avatars.githubusercontent.com/u/5742917?v=3","gravatar_id":"","url":"https://api.github.com/users/yeganehaym","html_url":"https://github.com/yeganehaym","followers_url":"https://api.github.com/users/yeganehaym/followers","following_url":"https://api.github.com/users/yeganehaym/following{/other_user}","gists_url":"https://api.github.com/users/yeganehaym/gists{/gist_id}","starred_url":"https://api.github.com/users/yeganehaym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeganehaym/subscriptions","organizations_url":"https://api.github.com/users/yeganehaym/orgs","repos_url":"https://api.github.com/users/yeganehaym/repos","events_url":"https://api.github.com/users/yeganehaym/events{/privacy}","received_events_url":"https://api.github.com/users/yeganehaym/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T20:27:43Z","updated_at":"2016-06-08T20:27:43Z","body":"i limited tables to one and database is made\r\ni will test db one by one to find out issue"}}
{"actor":{"display_login":"yeganehaym"}}