forked from External/mage
This commit is contained in:
parent
b4eefc094f
commit
a09aec08cb
1 changed files with 1 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ public enum UserStatsRepository {
|
||||||
|
|
||||||
TableUtils.createTableIfNotExists(connectionSource, UserStats.class);
|
TableUtils.createTableIfNotExists(connectionSource, UserStats.class);
|
||||||
statsDao = DaoManager.createDao(connectionSource, UserStats.class);
|
statsDao = DaoManager.createDao(connectionSource, UserStats.class);
|
||||||
|
statsDao.executeRaw("PRAGMA journal_mode=WAL;");
|
||||||
} catch (SQLException ex) {
|
} catch (SQLException ex) {
|
||||||
Logger.getLogger(UserStatsRepository.class).error("Error creating user_stats repository - ", ex);
|
Logger.getLogger(UserStatsRepository.class).error("Error creating user_stats repository - ", ex);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue