{ "id": "155202", "key": "AC-689", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2016-03-10T18:20:35.000+0000", "created": "2016-02-29T07:18:30.000+0000", "labels": [ "alloy", "dbname", "default", "models", "sqlite" ], "versions": [ { "id": "17035", "name": "Appcelerator Studio 4.4.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "updated": "2016-03-10T18:20:35.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." } ], "description": "I had two project with alloy framework and both using same database structure. Currently i didn't define the sqllite database name for the models and these two project is totally separate app. The problem is the data will overwrite each other app when two apps are install in same mobile device. So, is there any way to modify the default db name for the model in order to let two app run in same device without overwrite each other data. ", "attachment": [], "flagged": false, "summary": "How to change the default sqllite db name in alloy project", "creator": { "name": "Yellowcube", "key": "yellowcube", "displayName": "Yellowcube", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "Yellowcube", "key": "yellowcube", "displayName": "Yellowcube", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "I had created 2 project by alloy framework and used the models to manage the database for IOS and android. But two project using the same database structure. ", "comment": { "comments": [ { "id": "378838", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nThanks for sharing with us. What is your alloy version? Are you using latest builds? It would be better if you can share a sample test case, test steps to reproduce the issue. I also suggest you to share your environment details. To do this, please open terminal type: *appc info*.\r\n\r\n\r\nThanks", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-03-06T05:12:56.000+0000", "updated": "2016-03-08T04:37:18.000+0000" }, { "id": "379461", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Currently this is not possible with Appcelerator. You will need two separate databases for separate apps. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-10T18:20:18.000+0000", "updated": "2016-03-10T18:20:18.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }