summaryrefslogtreecommitdiff
path: root/db/migrate/20220914112457_add_reject_non_dco_commits_to_push_rules.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20220914112457_add_reject_non_dco_commits_to_push_rules.rb')
-rw-r--r--db/migrate/20220914112457_add_reject_non_dco_commits_to_push_rules.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20220914112457_add_reject_non_dco_commits_to_push_rules.rb b/db/migrate/20220914112457_add_reject_non_dco_commits_to_push_rules.rb
new file mode 100644
index 00000000000..57b3c209660
--- /dev/null
+++ b/db/migrate/20220914112457_add_reject_non_dco_commits_to_push_rules.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+class AddRejectNonDcoCommitsToPushRules < Gitlab::Database::Migration[2.0]
+ def change
+ add_column :push_rules, :reject_non_dco_commits, :boolean
+ end
+end