Skip to content

Commit

Permalink
Put migration of the 'commandsSendingForAdmins' before setting up of …
Browse files Browse the repository at this point in the history
…user settings
  • Loading branch information
vitalidze committed Jun 4, 2016
1 parent 5b84950 commit ae3dc79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/traccar/web/server/model/DBMigrations.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ public void migrate(EntityManager em) throws Exception {
new SetDefaultDeviceIconArrowRadius(),
new SetDefaultHashImplementation(),
new SetGlobalHashSalt(),
new SetDefaultAllowCommandsOnlyForAdmins(),
new SetDefaultUserSettings(),
new SetArchiveDefaultColumns(),
new SetGeoFenceAllDevicesFlag(),
new SetReportsFilterAndPreview(),
new SetDefaultNotificationExpirationPeriod(),
new SetDefaultExpiredFlagForEvents(),
new SetDefaultMatchServiceURL(),
new SetDefaultAllowCommandsOnlyForAdmins()
new SetDefaultMatchServiceURL()
}) {
em.getTransaction().begin();
try {
Expand Down

0 comments on commit ae3dc79

Please sign in to comment.