Commit 8b6dc0a2a2040cf686c1861ead880efe608fa506
1 parent
991e20ab
Exists in
master
and in
29 other branches
removing unnecessary migrations
Showing
2 changed files
with
0 additions
and
26 deletions
Show diff stats
db/migrate/20131113151730_add_image_to_article.rb
@@ -1,13 +0,0 @@ | @@ -1,13 +0,0 @@ | ||
1 | -class AddImageToArticle < ActiveRecord::Migration | ||
2 | - | ||
3 | - def self.up | ||
4 | - add_column :articles, :image_id, :integer | ||
5 | - add_column :article_versions, :image_id, :integer | ||
6 | - end | ||
7 | - | ||
8 | - def self.down | ||
9 | - remove_column :articles, :image_id | ||
10 | - remove_column :article_versions, :image_id | ||
11 | - end | ||
12 | - | ||
13 | -end |
db/migrate/20131113151835_add_position_to_article.rb
@@ -1,13 +0,0 @@ | @@ -1,13 +0,0 @@ | ||
1 | -class AddPositionToArticle < ActiveRecord::Migration | ||
2 | - | ||
3 | - def self.up | ||
4 | - add_column :articles, :position, :integer | ||
5 | - add_column :article_versions, :position, :integer | ||
6 | - end | ||
7 | - | ||
8 | - def self.down | ||
9 | - remove_column :articles, :position | ||
10 | - remove_column :article_versions, :position | ||
11 | - end | ||
12 | - | ||
13 | -end |