10 lines
208 B
Ruby
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
|