diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-15 11:51:45 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-15 11:51:45 +1200 |
commit | 5cf1061cfcc5baf214bce145961512fd4f672621 (patch) | |
tree | 32efac22ba11abddec21656685c3e0ba730b1e47 /debug.xml | |
parent | 34a70e81ecb613c3216fcdd581a9724216137b41 (diff) | |
download | trackermap-server-5cf1061cfcc5baf214bce145961512fd4f672621.tar.gz trackermap-server-5cf1061cfcc5baf214bce145961512fd4f672621.tar.bz2 trackermap-server-5cf1061cfcc5baf214bce145961512fd4f672621.zip |
Rename other field to attributes
Diffstat (limited to 'debug.xml')
-rw-r--r-- | debug.xml | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -100,7 +100,7 @@ speed FLOAT NOT NULL, course FLOAT NOT NULL, address VARCHAR(512), - other VARCHAR(4096) NOT NULL, + attributes VARCHAR(4096) NOT NULL, FOREIGN KEY (deviceId) REFERENCES device (id) ON DELETE CASCADE); CREATE INDEX position_deviceId_fixTime ON position (deviceId, fixTime); @@ -111,7 +111,7 @@ deviceId INT NOT NULL, serverTime TIMESTAMP NOT NULL, deviceTime TIMESTAMP NOT NULL, - other VARCHAR(4096) NOT NULL, + attributes VARCHAR(4096) NOT NULL, FOREIGN KEY (deviceId) REFERENCES device (id) ON DELETE CASCADE); CREATE TABLE server ( @@ -232,8 +232,8 @@ </entry> <entry key='database.insertPosition'> - INSERT INTO position (deviceId, protocol, serverTime, deviceTime, fixTime, valid, latitude, longitude, altitude, speed, course, address, other) - VALUES (:deviceId, :protocol, CURRENT_TIMESTAMP(), :time, :time, :valid, :latitude, :longitude, :altitude, :speed, :course, :address, :other); + INSERT INTO position (deviceId, protocol, serverTime, deviceTime, fixTime, valid, latitude, longitude, altitude, speed, course, address, attributes) + VALUES (:deviceId, :protocol, CURRENT_TIMESTAMP(), :time, :time, :valid, :latitude, :longitude, :altitude, :speed, :course, :address, :attributes); </entry> <entry key='database.selectLatestPositions'> |