12 lines
252 B
Ruby
12 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
|