blob: f0273ba448e90c4276fb65ce5b0e4bb5215f5847 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# rubocop:disable all
class RemovePrivateFlagFromProject < ActiveRecord::Migration
def up
remove_column :projects, :private_flag
end
def down
add_column :projects, :private_flag, :boolean, default: true, null: false
end
end
|