mirror of
https://github.com/redmine/redmine.git
synced 2024-08-13 02:10:30 +02:00
11 lines
250 B
Ruby
11 lines
250 B
Ruby
![]() |
class AddVersionsSharing < ActiveRecord::Migration
|
||
|
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
|