public void createAllTable() { DeviceBeanDao.createTable(mDaoSession.getDatabase(), true); LocationBeanDao.createTable(mDaoSession.getDatabase(), true); LostBeanDao.createTable(mDaoSession.getDatabase(), true); }
public void dropAllTable() { DeviceBeanDao.dropTable(mDaoSession.getDatabase(), true); LocationBeanDao.dropTable(mDaoSession.getDatabase(), true); LostBeanDao.dropTable(mDaoSession.getDatabase(), true); }