forked from OpenNeo/impress
12 lines
312 B
Ruby
12 lines
312 B
Ruby
|
class AddNameAndStarredToOutfits < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
add_column :outfits, :name, :string, :null => false
|
||
|
add_column :outfits, :starred, :boolean, :default => false, :null => false
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
remove_column :outfits, :starred
|
||
|
remove_column :outfits, :name
|
||
|
end
|
||
|
end
|