From f079a812b15d40c7890c827ed1c20493299d619c Mon Sep 17 00:00:00 2001 From: yystopf Date: Sat, 14 Sep 2024 09:38:32 +0800 Subject: [PATCH] add: pm_links index options --- db/migrate/20231107072541_create_pm_links.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20231107072541_create_pm_links.rb b/db/migrate/20231107072541_create_pm_links.rb index 84cdb00e8..fe8beb8da 100644 --- a/db/migrate/20231107072541_create_pm_links.rb +++ b/db/migrate/20231107072541_create_pm_links.rb @@ -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