fixed utf8mb4字符索引处理
This commit is contained in:
parent
28ed60da16
commit
c5ec05ea77
|
@ -11,7 +11,7 @@ class CreateActionNodeSelects < ActiveRecord::Migration[5.2]
|
|||
t.integer :use_count, default: 0
|
||||
t.references :user
|
||||
t.timestamps
|
||||
t.index :name
|
||||
t.index :name, length: 191
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue