blob: 6084b7e9557110d7777cef45a16a93b331c17956 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# 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
|