Commit f72561eeaaec2c733ecb1f70ae4765be90298b20
1 parent
243ecd04
Exists in
master
and in
29 other branches
Renumbering migration.
There was already a migration 79 in the stable branch
Showing
2 changed files
with
11 additions
and
11 deletions
Show diff stats
db/migrate/079_add_external_link_to_articles.rb
... | ... | @@ -1,11 +0,0 @@ |
1 | -class AddExternalLinkToArticles < ActiveRecord::Migration | |
2 | - def self.up | |
3 | - add_column :articles, :external_link, :string | |
4 | - add_column :article_versions, :external_link, :string | |
5 | - end | |
6 | - | |
7 | - def self.down | |
8 | - remove_column :articles, :external_link | |
9 | - remove_column :article_versions, :external_link | |
10 | - end | |
11 | -end |
... | ... | @@ -0,0 +1,11 @@ |
1 | +class AddExternalLinkToArticles < ActiveRecord::Migration | |
2 | + def self.up | |
3 | + add_column :articles, :external_link, :string | |
4 | + add_column :article_versions, :external_link, :string | |
5 | + end | |
6 | + | |
7 | + def self.down | |
8 | + remove_column :articles, :external_link | |
9 | + remove_column :article_versions, :external_link | |
10 | + end | |
11 | +end | ... | ... |