mirror of
https://github.com/redmine/redmine.git
synced 2024-08-30 17:59:55 +02:00
10 lines
231 B
Ruby
10 lines
231 B
Ruby
![]() |
class AddActiveFieldToEnumerations < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
add_column :enumerations, :active, :boolean, :default => true, :null => false
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
remove_column :enumerations, :active
|
||
|
end
|
||
|
end
|