summaryrefslogtreecommitdiff
path: root/db/migrate/20220111154950_add_token_expires_at_to_ci_runners.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20220111154950_add_token_expires_at_to_ci_runners.rb')
-rw-r--r--db/migrate/20220111154950_add_token_expires_at_to_ci_runners.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20220111154950_add_token_expires_at_to_ci_runners.rb b/db/migrate/20220111154950_add_token_expires_at_to_ci_runners.rb
new file mode 100644
index 00000000000..b4d7c63d24b
--- /dev/null
+++ b/db/migrate/20220111154950_add_token_expires_at_to_ci_runners.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+class AddTokenExpiresAtToCiRunners < Gitlab::Database::Migration[1.0]
+ def change
+ add_column :ci_runners, :token_expires_at, :datetime_with_timezone
+ end
+end