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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-08 03:09:30 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-08 03:09:30 +0300
commit060c842402c00f830a810702600cbe39dfa6cf62 (patch)
tree743bd65ac0c1d4d6518ae8cdd4af5718ec7fb890 /db/migrate/20200402185044_create_clusters_applications_fluentd.rb
parent6867eff1f997a881cd3ea64109f7ba2d4b42fde4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db/migrate/20200402185044_create_clusters_applications_fluentd.rb')
-rw-r--r--db/migrate/20200402185044_create_clusters_applications_fluentd.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/db/migrate/20200402185044_create_clusters_applications_fluentd.rb b/db/migrate/20200402185044_create_clusters_applications_fluentd.rb
new file mode 100644
index 00000000000..08f3faf80e1
--- /dev/null
+++ b/db/migrate/20200402185044_create_clusters_applications_fluentd.rb
@@ -0,0 +1,18 @@
+# frozen_string_literal: true
+
+class CreateClustersApplicationsFluentd < ActiveRecord::Migration[6.0]
+ DOWNTIME = false
+
+ def change
+ create_table :clusters_applications_fluentd do |t|
+ t.integer :protocol, null: false, limit: 2
+ t.integer :status, null: false
+ t.integer :port, null: false
+ t.references :cluster, null: false, index: { unique: true }, foreign_key: { on_delete: :cascade }
+ t.timestamps_with_timezone null: false
+ t.string :version, null: false, limit: 255
+ t.string :host, null: false, limit: 255
+ t.text :status_reason
+ end
+ end
+end