I'm developing a hybrid app using Monaca IDE, the thing is the database I'm using is made in Sqlite, and it works great in the preview, I even had another project with the same DB scheme and it worked great too, but when I try to make the .apk, the application works but the db is never created, I don't know if I should be doing something else that I'm not aware of, or if you guys have any idea of what might be going on here! 

Note: It doesn't work either if I open the Monaca preview in firefox

this is my db code:

```
$(document).ready(function(){
     onDeviceReady();
});

function onDeviceReady() {
db = window.openDatabase('antel', '1.0', 'primera', 2 * 1024 * 1024);
db.transaction(crearBase);
};

function crearBase(tx) {
tx.executeSql('Create table if not exists PARADA (nombre TEXT PRIMARY KEY)', [], function (tx) {
    tx.executeSql('Create table if not exists REGISTRO (id INTEGER PRIMARY KEY autoincrement, nomParada TEXT REFERENCES PARADA (nombre), tipo TEXT ,km TEXT,fecha TEXT,hora TEXT)', [], function (tx) {
         tx.executeSql('Create table if not exists EMAIL (id INTEGER PRIMARY KEY autoincrement,nombre TEXT)', [], function (tx) {
            tx.executeSql('Select nombre FROM PARADA',[],meFijoSiEsVacia);});
    });
});

}

```