summaryrefslogtreecommitdiff
path: root/db/migrate/20210412111213_create_security_orchestration_policy_rule_schedule.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20210412111213_create_security_orchestration_policy_rule_schedule.rb')
-rw-r--r--db/migrate/20210412111213_create_security_orchestration_policy_rule_schedule.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20210412111213_create_security_orchestration_policy_rule_schedule.rb b/db/migrate/20210412111213_create_security_orchestration_policy_rule_schedule.rb
index c7035400cba..365fa36f11b 100644
--- a/db/migrate/20210412111213_create_security_orchestration_policy_rule_schedule.rb
+++ b/db/migrate/20210412111213_create_security_orchestration_policy_rule_schedule.rb
@@ -11,7 +11,7 @@ class CreateSecurityOrchestrationPolicyRuleSchedule < ActiveRecord::Migration[6.
def up
table_comment = { owner: 'group::container security', description: 'Schedules used to store relationship between project and security policy repository' }
- create_table_with_constraints :security_orchestration_policy_rule_schedules, comment: table_comment.to_json do |t|
+ create_table_with_constraints :security_orchestration_policy_rule_schedules, comment: Gitlab::Json.dump(table_comment) do |t|
t.timestamps_with_timezone
t.datetime_with_timezone :next_run_at, null: true