Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20210309181019_add_last_used_at_to_cluster_agent_token.rb')
-rw-r--r--db/migrate/20210309181019_add_last_used_at_to_cluster_agent_token.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20210309181019_add_last_used_at_to_cluster_agent_token.rb b/db/migrate/20210309181019_add_last_used_at_to_cluster_agent_token.rb
new file mode 100644
index 00000000000..2a29ab374e5
--- /dev/null
+++ b/db/migrate/20210309181019_add_last_used_at_to_cluster_agent_token.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+class AddLastUsedAtToClusterAgentToken < ActiveRecord::Migration[6.0]
+ DOWNTIME = false
+
+ def change
+ add_column :cluster_agent_tokens, :last_used_at, :datetime_with_timezone
+ end
+end