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/20121022124253_remove_group...

13 lines
478 B

class RemoveGroupUserEnhancements < ActiveRecord::Migration
def self.up
remove_column :group_users, :id
remove_column :group_users, :membership_type
remove_column :member_roles, :membership_type
end
def self.down
add_column :group_users, :id, :primary_key
add_column :group_users, :membership_type, :string, :null => false, :default => 'default'
add_column :member_roles, :membership_type, :string, :null => false, :default => 'default'
end
end