aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorXinhui2016-09-26 15:52:30 +0200
committerXinhui2016-09-26 15:52:30 +0200
commit56c51faf52b824afd2057194233f357e8d5330ae (patch)
treedfacab43824835aa232ffa553f3d7bf058215920 /db/migrate
parent13dc269d40763314db72d51bb8e53acfd219b285 (diff)
downloadchouette-core-56c51faf52b824afd2057194233f357e8d5330ae.tar.bz2
Add started_at, ended_at, status to line_referential_syncs
Refs #1706
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20160926134345_add_started_at_to_line_referential_syncs.rb5
-rw-r--r--db/migrate/20160926134813_add_ended_at_to_line_referential_syncs.rb5
-rw-r--r--db/migrate/20160926134852_add_status_to_line_referential_syncs.rb5
3 files changed, 15 insertions, 0 deletions
diff --git a/db/migrate/20160926134345_add_started_at_to_line_referential_syncs.rb b/db/migrate/20160926134345_add_started_at_to_line_referential_syncs.rb
new file mode 100644
index 000000000..9b83bb55c
--- /dev/null
+++ b/db/migrate/20160926134345_add_started_at_to_line_referential_syncs.rb
@@ -0,0 +1,5 @@
+class AddStartedAtToLineReferentialSyncs < ActiveRecord::Migration
+ def change
+ add_column :line_referential_syncs, :started_at, :datetime
+ end
+end
diff --git a/db/migrate/20160926134813_add_ended_at_to_line_referential_syncs.rb b/db/migrate/20160926134813_add_ended_at_to_line_referential_syncs.rb
new file mode 100644
index 000000000..3d8c654a8
--- /dev/null
+++ b/db/migrate/20160926134813_add_ended_at_to_line_referential_syncs.rb
@@ -0,0 +1,5 @@
+class AddEndedAtToLineReferentialSyncs < ActiveRecord::Migration
+ def change
+ add_column :line_referential_syncs, :ended_at, :datetime
+ end
+end
diff --git a/db/migrate/20160926134852_add_status_to_line_referential_syncs.rb b/db/migrate/20160926134852_add_status_to_line_referential_syncs.rb
new file mode 100644
index 000000000..fb2bfc769
--- /dev/null
+++ b/db/migrate/20160926134852_add_status_to_line_referential_syncs.rb
@@ -0,0 +1,5 @@
+class AddStatusToLineReferentialSyncs < ActiveRecord::Migration
+ def change
+ add_column :line_referential_syncs, :status, :string
+ end
+end