sharedlists/db/migrate/003_add_list_to_article.rb
2021-12-18 11:39:41 +01:00

11 lines
252 B
Ruby

class AddListToArticle < ActiveRecord::Migration
def self.up
add_column :articles, :list, :string
add_column :suppliers, :lists, :string
end
def self.down
remove_column :articles, :list
remove_column :suppliers, :lists
end
end