@developer_med wrote:
hello for everyone , so i'm developing my first app with ionic and cordova , i"m using codova sqlite plugin for local storage after some tutorials that i saw all sqlite management was created in app.js especialy CRUD operations in conttrollers and also database creation , the opening and table creation they put in app.run(function($ionicPlatform,$cordovaSQLite) { ..... } , so that's mean that every time when applixation lanched run will executed => database creation instruction executed every time ,so my quesion if is possible to execute database creation instruction just once only may be a script which execute the first time for all ?? how we can do that ?
i hope that someone give my some suggestions or any idea about that
anyway thnk u very much ionites and good luck
Posts: 1
Participants: 1