ref: master
db/migrate/20120710033223_add_template_and_is_template_fields.rb
1 2 3 4 5 6 7 8 9 10 11 |
class AddTemplateAndIsTemplateFields < ActiveRecord::Migration def self.up add_column :profiles, :is_template, :boolean, :default => false add_column :profiles, :template_id, :integer end def self.down remove_column :profiles, :is_template remove_column :profiles, :template_id end end |