socialforge/db/migrate/051_add_project_status.rb

10 lines
208 B
Ruby

class AddProjectStatus < ActiveRecord::Migration
def self.up
add_column :projects, :status, :integer, :default => 1, :null => false
end
def self.down
remove_column :projects, :status
end
end