2023-08-06 17:45:45 -07:00
|
|
|
class AddNameAndStarredToOutfits < ActiveRecord::Migration[3.2]
|
2010-11-10 13:59:54 -08:00
|
|
|
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
|