{ "id": "129689", "key": "ALOY-995", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2014-04-25T18:12:10.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2014-08-28T21:29:29.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "13605", "name": "Models" } ], "description": "As a developer, I'd like to be able to specify that the database generated by an Alloy model not be backed up to iCloud as part of the model's definition. This functionality is provided now if I install a pre-built database. But it is not implemented for the database file created automatically by the sync adapter.\r\n\r\nOriginal reference at https://github.com/appcelerator/alloy/pull/119#issuecomment-41156201\r\n\r\nCode for setting this option with pre-built databases is at /lib/alloy/sync/sql.js, approx line 413\r\n\r\n\r\ndb.file.setRemoteBackup(false)\r\n\r\nAs pointed out in http://developer.appcelerator.com/question/174874/alloy-database-model need also to reconcile that models are associated with tables. There should be a logical and sure way to turn on or off iCloud backup for the entire DB.", "attachment": [], "flagged": false, "summary": "Support turning off iCloud backup for auto-generated model databases", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": "iOS", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }