mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
Simplify sharing migration
This commit is contained in:
@@ -29,11 +29,7 @@
|
||||
#++
|
||||
|
||||
class RemoveSharingFromSprints < ActiveRecord::Migration[8.1]
|
||||
def up
|
||||
remove_column :sprints, :sharing
|
||||
end
|
||||
|
||||
def down
|
||||
add_column :sprints, :sharing, :string, null: false, default: "none"
|
||||
def change
|
||||
remove_column :sprints, :sharing, :string, null: false, default: "none"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user