add: pm_links index options

This commit is contained in:
yystopf 2024-09-14 09:38:32 +08:00
parent e2c3de3601
commit f079a812b1
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
class CreatePmLinks < ActiveRecord::Migration[5.2]
def change
create_table :pm_links do |t|
create_table :pm_links, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8' do |t|
t.string :be_linkable_type, null: false
t.integer :be_linkable_id, null: false