debian-mirror-gitlab/db/migrate/20220726171440_create_ghost_user_migrations.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
375 B
Ruby
Raw Normal View History

2022-10-11 01:57:18 +05:30
# 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