aboutsummaryrefslogtreecommitdiff
path: root/debug.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-16 12:52:01 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-16 12:52:01 +1300
commitcb20652e72d37459f13821b3c7b3f8b8a4a09cf8 (patch)
tree75d43cd6c6baaa2195d83b30f9ce0cf285c0f379 /debug.xml
parentf61aeccb5d925acfc862700263f91082a0419072 (diff)
downloadtrackermap-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.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/debug.xml b/debug.xml
index d25886b3a..378caced6 100644
--- a/debug.xml
+++ b/debug.xml
@@ -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,