Simplify sharing migration

This commit is contained in:
Dombi Attila
2026-03-12 17:33:47 +02:00
parent 627755b6b7
commit 02c61ef977
2 changed files with 2 additions and 6 deletions
@@ -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