10 lines
197 B
Ruby
10 lines
197 B
Ruby
|
class AddVersionsStatus < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
add_column :versions, :status, :string, :default => 'open'
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
remove_column :versions, :status
|
||
|
end
|
||
|
end
|