aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorXinhui2016-09-29 15:18:15 +0200
committerXinhui2016-09-29 15:18:15 +0200
commit98a5b302923bf369c14e35a506af94b84e32c7ee (patch)
tree8dc5f48811269d60dfb6e0dc80c6b0202fd2c8d7 /db/migrate
parentf5a4f5056ccb72d6b097594298581f8bb1400dba (diff)
downloadchouette-core-98a5b302923bf369c14e35a506af94b84e32c7ee.tar.bz2
Add started_at, ended_at, status to stop_area_referential_syncs
Refs #1710
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20160929131334_add_ended_at_to_stop_area_referential_syncs.rb5
-rw-r--r--db/migrate/20160929131401_add_started_at_to_stop_area_referential_syncs.rb5
-rw-r--r--db/migrate/20160929131440_add_status_to_stop_area_referential_syncs.rb5
3 files changed, 15 insertions, 0 deletions
diff --git a/db/migrate/20160929131334_add_ended_at_to_stop_area_referential_syncs.rb b/db/migrate/20160929131334_add_ended_at_to_stop_area_referential_syncs.rb
new file mode 100644
index 000000000..892c20d8d
--- /dev/null
+++ b/db/migrate/20160929131334_add_ended_at_to_stop_area_referential_syncs.rb
@@ -0,0 +1,5 @@
+class AddEndedAtToStopAreaReferentialSyncs < ActiveRecord::Migration
+ def change
+ add_column :stop_area_referential_syncs, :ended_at, :datetime
+ end
+end
diff --git a/db/migrate/20160929131401_add_started_at_to_stop_area_referential_syncs.rb b/db/migrate/20160929131401_add_started_at_to_stop_area_referential_syncs.rb
new file mode 100644
index 000000000..d6f0838d4
--- /dev/null
+++ b/db/migrate/20160929131401_add_started_at_to_stop_area_referential_syncs.rb
@@ -0,0 +1,5 @@
+class AddStartedAtToStopAreaReferentialSyncs < ActiveRecord::Migration
+ def change
+ add_column :stop_area_referential_syncs, :started_at, :datetime
+ end
+end
diff --git a/db/migrate/20160929131440_add_status_to_stop_area_referential_syncs.rb b/db/migrate/20160929131440_add_status_to_stop_area_referential_syncs.rb
new file mode 100644
index 000000000..6cdca1917
--- /dev/null
+++ b/db/migrate/20160929131440_add_status_to_stop_area_referential_syncs.rb
@@ -0,0 +1,5 @@
+class AddStatusToStopAreaReferentialSyncs < ActiveRecord::Migration
+ def change
+ add_column :stop_area_referential_syncs, :status, :string
+ end
+end