Use uuids in the search_index tables too
This commit is contained in:
committed by
Mike Dalessio
parent
fc56ad9d7c
commit
f4729577b6
@@ -1,7 +1,7 @@
|
||||
class CreateSearchIndices < ActiveRecord::Migration[8.2]
|
||||
def up
|
||||
16.times do |i|
|
||||
create_table "search_index_#{i}".to_sym do |t|
|
||||
create_table "search_index_#{i}".to_sym, id: :uuid, charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci" do |t|
|
||||
t.string :searchable_type, null: false
|
||||
t.uuid :searchable_id, null: false
|
||||
t.uuid :card_id, null: false
|
||||
|
||||
Reference in New Issue
Block a user