diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-17 22:48:33 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-17 22:48:33 +1300 |
commit | af6c734879aa483efcc8150d5fdb704f40fb59cd (patch) | |
tree | 3d8e4c832f87954513b1dbd614f7a1f757a4fa99 /setup | |
parent | 512b95fd6975005c6460ddad16714502510cb16e (diff) | |
download | trackermap-server-af6c734879aa483efcc8150d5fdb704f40fb59cd.tar.gz trackermap-server-af6c734879aa483efcc8150d5fdb704f40fb59cd.tar.bz2 trackermap-server-af6c734879aa483efcc8150d5fdb704f40fb59cd.zip |
Add user expiration and device limit
Diffstat (limited to 'setup')
-rw-r--r-- | setup/default.xml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/setup/default.xml b/setup/default.xml index f50f3904f..a9d7684d4 100644 --- a/setup/default.xml +++ b/setup/default.xml @@ -62,8 +62,8 @@ </entry> <entry key='database.insertUser'> - INSERT INTO users (name, email, hashedPassword, salt, admin, map, distanceUnit, speedUnit, latitude, longitude, zoom, twelveHourFormat, attributes) - VALUES (:name, :email, :hashedPassword, :salt, :admin, :map, :distanceUnit, :speedUnit, :latitude, :longitude, :zoom, :twelveHourFormat, :attributes) + INSERT INTO users (name, email, hashedPassword, salt, admin, map, distanceUnit, speedUnit, latitude, longitude, zoom, twelveHourFormat, coordinateFormat, disabled, expirationTime, deviceLimit, attributes) + VALUES (:name, :email, :hashedPassword, :salt, :admin, :map, :distanceUnit, :speedUnit, :latitude, :longitude, :zoom, :twelveHourFormat, :coordinateFormat, :disabled, :expirationTime, :deviceLimit, :attributes) </entry> <entry key='database.updateUser'> @@ -78,6 +78,10 @@ longitude = :longitude, zoom = :zoom, twelveHourFormat = :twelveHourFormat, + coordinateFormat = :coordinateFormat, + disabled = :disabled, + expirationTime = :expirationTime, + deviceLimit = :deviceLimit, attributes = :attributes WHERE id = :id </entry> |