aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorXinhui2016-09-02 11:45:19 +0200
committerXinhui2016-09-02 11:45:23 +0200
commit4ae538b87f180d69df8768d6ffdd067a3b1beab5 (patch)
tree710114f17f724b5f1792613ddfa75c6689d8d202 /db/migrate
parent3f7531ddfa0d0c0e359d87baffa7097c9ee44d1a (diff)
downloadchouette-core-4ae538b87f180d69df8768d6ffdd067a3b1beab5.tar.bz2
Reflex store xml + purge deleted since last sync
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20160902082958_add_status_to_stop_area.rb5
-rw-r--r--db/migrate/20160902083036_add_import_xml_to_stop_area.rb5
-rw-r--r--db/migrate/20160902084601_add_import_xml_to_access_points.rb5
-rw-r--r--db/migrate/20160902093127_add_deleted_at_to_stop_areas.rb5
4 files changed, 20 insertions, 0 deletions
diff --git a/db/migrate/20160902082958_add_status_to_stop_area.rb b/db/migrate/20160902082958_add_status_to_stop_area.rb
new file mode 100644
index 000000000..d05d9449e
--- /dev/null
+++ b/db/migrate/20160902082958_add_status_to_stop_area.rb
@@ -0,0 +1,5 @@
+class AddStatusToStopArea < ActiveRecord::Migration
+ def change
+ add_column :stop_areas, :status, :string
+ end
+end
diff --git a/db/migrate/20160902083036_add_import_xml_to_stop_area.rb b/db/migrate/20160902083036_add_import_xml_to_stop_area.rb
new file mode 100644
index 000000000..26ba99665
--- /dev/null
+++ b/db/migrate/20160902083036_add_import_xml_to_stop_area.rb
@@ -0,0 +1,5 @@
+class AddImportXmlToStopArea < ActiveRecord::Migration
+ def change
+ add_column :stop_areas, :import_xml, :text
+ end
+end
diff --git a/db/migrate/20160902084601_add_import_xml_to_access_points.rb b/db/migrate/20160902084601_add_import_xml_to_access_points.rb
new file mode 100644
index 000000000..fd75cd783
--- /dev/null
+++ b/db/migrate/20160902084601_add_import_xml_to_access_points.rb
@@ -0,0 +1,5 @@
+class AddImportXmlToAccessPoints < ActiveRecord::Migration
+ def change
+ add_column :access_points, :import_xml, :text
+ end
+end
diff --git a/db/migrate/20160902093127_add_deleted_at_to_stop_areas.rb b/db/migrate/20160902093127_add_deleted_at_to_stop_areas.rb
new file mode 100644
index 000000000..036d6a20f
--- /dev/null
+++ b/db/migrate/20160902093127_add_deleted_at_to_stop_areas.rb
@@ -0,0 +1,5 @@
+class AddDeletedAtToStopAreas < ActiveRecord::Migration
+ def change
+ add_column :stop_areas, :deleted_at, :datetime
+ end
+end