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

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

class CreateImportFailures < ActiveRecord::Migration[5.2]
  DOWNTIME = false

  def change
    create_table :import_failures do |t|
      t.integer :relation_index
      t.references :project, null: false, index: true
      t.datetime_with_timezone :created_at, null: false
      t.string :relation_key, limit: 64
      t.string :exception_class, limit: 128
      t.string :correlation_id_value, limit: 128, index: true
      t.string :exception_message, limit: 255
    end
  end
end