ref: master
db/migrate/20101209001631_add_source_name_to_articles.rb
1 2 3 4 5 6 7 8 9 10 11 |
class AddSourceNameToArticles < ActiveRecord::Migration def self.up add_column :articles, :source_name, :string, :null => true add_column :article_versions, :source_name, :string, :null => true end def self.down remove_column :articles, :source_name remove_column :article_versions, :source_name end end |