summaryrefslogtreecommitdiff
path: root/db/migrate/20220421141342_add_allowed_plans_to_ci_runners.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20220421141342_add_allowed_plans_to_ci_runners.rb')
-rw-r--r--db/migrate/20220421141342_add_allowed_plans_to_ci_runners.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20220421141342_add_allowed_plans_to_ci_runners.rb b/db/migrate/20220421141342_add_allowed_plans_to_ci_runners.rb
new file mode 100644
index 00000000000..46da684cfe2
--- /dev/null
+++ b/db/migrate/20220421141342_add_allowed_plans_to_ci_runners.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+class AddAllowedPlansToCiRunners < Gitlab::Database::Migration[1.0]
+ def change
+ # rubocop:disable Migration/AddLimitToTextColumns
+ add_column :ci_runners, :allowed_plans, :text, array: true, null: false, default: []
+ # rubocop:enable Migration/AddLimitToTextColumns
+ end
+end