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/20110321145023_create_versi...

17 lines
422 B

class CreateVersionSetting < ActiveRecord::Migration
def self.up
create_table :version_settings, :force => true do |t|
t.integer :project_id
t.integer :version_id
t.integer :display
t.timestamps
end
add_index :version_settings, [:project_id, :version_id]
end
def self.down
remove_index :version_settings, [:project_id, :version_id]
drop_table :version_settings
end
end