aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-01-10 13:30:57 +0500
committerAbyss777 <abyss@fox5.ru>2017-01-10 13:30:57 +0500
commit21a7d70d20ac45fbf2a8d000ba8e9f93be5dd195 (patch)
tree9808dcc2fc176e0a9ace9214836aa296312a939a /setup
parentfec3ab90ffd6819dbad5c592f6cca8b6c16a8edc (diff)
downloadtrackermap-server-21a7d70d20ac45fbf2a8d000ba8e9f93be5dd195.tar.gz
trackermap-server-21a7d70d20ac45fbf2a8d000ba8e9f93be5dd195.tar.bz2
trackermap-server-21a7d70d20ac45fbf2a8d000ba8e9f93be5dd195.zip
- Rename calendarData to data
- Cleanup Calendar model - Fix TripsTest
Diffstat (limited to 'setup')
-rw-r--r--setup/default.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup/default.xml b/setup/default.xml
index 81d7e6968..9f15e2f4b 100644
--- a/setup/default.xml
+++ b/setup/default.xml
@@ -322,14 +322,14 @@
</entry>
<entry key='database.insertCalendar'>
- INSERT INTO calendars (name, calendarData, attributes)
- VALUES (:name, :calendarData, :attributes)
+ INSERT INTO calendars (name, data, attributes)
+ VALUES (:name, :data, :attributes)
</entry>
<entry key='database.updateCalendar'>
UPDATE calendars SET
name = :name,
- calendarData = :calendarData,
+ data = :data,
attributes = :attributes
WHERE id = :id
</entry>