1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00
redmine/db/migrate/20091205124427_add_versions_sharing.rb

11 lines
255 B
Ruby

class AddVersionsSharing < ActiveRecord::Migration[4.2]
def self.up
add_column :versions, :sharing, :string, :default => 'none', :null => false
add_index :versions, :sharing
end
def self.down
remove_column :versions, :sharing
end
end