debian-mirror-gitlab/db/migrate/20221221134116_create_elastic_group_index_statuses.rb
2023-03-17 16:20:25 +05:30

18 lines
519 B
Ruby

# frozen_string_literal: true
class CreateElasticGroupIndexStatuses < Gitlab::Database::Migration[2.1]
def change
create_table :elastic_group_index_statuses, id: false do |t|
t.references :namespace,
primary_key: true,
foreign_key: { on_delete: :cascade },
index: false,
default: nil
t.timestamps_with_timezone null: false
t.datetime_with_timezone :wiki_indexed_at
t.binary :last_wiki_commit
end
end
end