CLI version 3.1.2, Titanium SDK version 3.1.2.GA , Alloy 1.2.0
I have tried doing
db.idAttribute ="gID";also tried adding adapter in create table but none of it works and alloy_id get created
migration.up = function(db) { db.dropTable(); db.createTable({ columns : { "fnName" : "TEXT", "gID" : "INTEGER PRIMARY KEY AUTOINCREMENT" }, adapter : { "idAttribute" : "gID" }, }); }; migration.down = function(db) { };