OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/db/migrate/20110224180804_add_lock_to_...

11 lines
349 B

class AddLockToMeetingContent < ActiveRecord::Migration
def self.up
add_column :meeting_contents, :locked, :boolean, :default => false
add_column :meeting_content_versions, :locked, :boolean, :default => nil
end
def self.down
remove_column :meeting_contents, :locked
remove_column :meeting_content_versions, :locked
end
end