debian-mirror-gitlab/db/migrate/20221221134116_create_elastic_group_index_statuses.rb

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

19 lines
519 B
Ruby
Raw Normal View History

2023-03-17 16:20:25 +05:30
# 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