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

20200615234047_create_clusters_applications_cilium.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9f77ee7116426bf2f32fb33dba788d05cd68a360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

class CreateClustersApplicationsCilium < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def change
    create_table :clusters_applications_cilium do |t|
      t.references :cluster, null: false, index: { unique: true }, foreign_key: { on_delete: :cascade }
      t.timestamps_with_timezone null: false
      t.integer :status, null: false
      t.text :status_reason # rubocop:disable Migration/AddLimitToTextColumns
    end
  end
end