Commit d59fcd8f87e2faca69e6a5487952620d7770e521

Authored by Evandro Jr
1 parent 9a1c00d4

Migrates

db/migrate/20150615215500_alter_column_articles_start_date.rb 0 → 100644
... ... @@ -0,0 +1,13 @@
  1 +class AlterColumnArticlesStartDate < ActiveRecord::Migration
  2 + def up
  3 + change_table :articles do |t|
  4 + t.change :start_date, :datetime
  5 + end
  6 + end
  7 +
  8 + def down
  9 + change_table :articles do |t|
  10 + t.change :start_date, :date
  11 + end
  12 + end
  13 +end
... ...
db/migrate/20150615215658_alter_column_articles_end_date.rb 0 → 100644
... ... @@ -0,0 +1,13 @@
  1 +class AlterColumnArticlesEndDate < ActiveRecord::Migration
  2 + def up
  3 + change_table :articles do |t|
  4 + t.change :end_date, :datetime
  5 + end
  6 + end
  7 +
  8 + def down
  9 + change_table :articles do |t|
  10 + t.change :end_date, :date
  11 + end
  12 + end
  13 +end
... ...
db/migrate/20150615222147_alter_column_article_versions_end_date.rb 0 → 100644
... ... @@ -0,0 +1,13 @@
  1 +class AlterColumnArticleVersionsEndDate < ActiveRecord::Migration
  2 + def up
  3 + change_table :article_versions do |t|
  4 + t.change :end_date, :datetime
  5 + end
  6 + end
  7 +
  8 + def down
  9 + change_table :article_versions do |t|
  10 + t.change :end_date, :date
  11 + end
  12 + end
  13 +end
... ...
db/migrate/20150615222204_alter_column_article_versions_start_date.rb 0 → 100644
... ... @@ -0,0 +1,13 @@
  1 +class AlterColumnArticleVersionsStartDate < ActiveRecord::Migration
  2 + def up
  3 + change_table :article_versions do |t|
  4 + t.change :start_date, :datetime
  5 + end
  6 + end
  7 +
  8 + def down
  9 + change_table :article_versions do |t|
  10 + t.change :start_date, :date
  11 + end
  12 + end
  13 +end
0 14 \ No newline at end of file
... ...