debian-mirror-gitlab/db/migrate/20220726171440_create_ghost_user_migrations.rb
2022-10-11 01:57:18 +05:30

12 lines
375 B
Ruby

# 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