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

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

class CreateGhostUserMigrations < Gitlab::Database::Migration[2.0]
  def change
    create_table :ghost_user_migrations do |t|
      t.bigint :user_id, index: { unique: true }, null: false
      t.bigint :initiator_user_id
      t.timestamps_with_timezone null: false
      t.boolean :hard_delete, default: false, null: false
    end
  end
end