BigW Consortium Gitlab

Commit 63c5b541 by Douwe Maan

Satisfy the new rubocop :)

parent b0afed1a
......@@ -3,7 +3,11 @@ class AddDevelopersCanMergeToProtectedBranches < ActiveRecord::Migration
disable_ddl_transaction!
def change
def up
add_column_with_default :protected_branches, :developers_can_merge, :boolean, default: false, allow_null: false
end
def down
remove_column :protected_branches, :developers_can_merge
end
end
......@@ -14,7 +14,11 @@ class AddSubmittedAsHamToSpamLogs < ActiveRecord::Migration
disable_ddl_transaction!
def change
def up
add_column_with_default :spam_logs, :submitted_as_ham, :boolean, default: false
end
def down
remove_column :spam_logs, :submitted_as_ham
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment