diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-16 12:52:01 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-16 12:52:01 +1300 |
commit | cb20652e72d37459f13821b3c7b3f8b8a4a09cf8 (patch) | |
tree | 75d43cd6c6baaa2195d83b30f9ce0cf285c0f379 /debug.xml | |
parent | f61aeccb5d925acfc862700263f91082a0419072 (diff) | |
download | trackermap-server-cb20652e72d37459f13821b3c7b3f8b8a4a09cf8.tar.gz trackermap-server-cb20652e72d37459f13821b3c7b3f8b8a4a09cf8.tar.bz2 trackermap-server-cb20652e72d37459f13821b3c7b3f8b8a4a09cf8.zip |
Add readonly flag to server settings
Diffstat (limited to 'debug.xml')
-rw-r--r-- | debug.xml | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -113,6 +113,7 @@ CREATE TABLE server ( id INT PRIMARY KEY AUTO_INCREMENT, registration BIT NOT NULL, + readonly BIT NOT NULL, map VARCHAR(128), bingKey VARCHAR(128), mapUrl VARCHAR(128), @@ -134,13 +135,14 @@ </entry> <entry key='database.insertServer'> - INSERT INTO server (registration, latitude, longitude, zoom) - VALUES (:registration, :latitude, :longitude, :zoom); + INSERT INTO server (registration, readonly, latitude, longitude, zoom) + VALUES (:registration, :readonly, :latitude, :longitude, :zoom); </entry> <entry key='database.updateServer'> UPDATE server SET registration = :registration, + readonly = :readonly, map = :map, bingKey = :bingKey, mapUrl = :mapUrl, |