mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-11 15:25:56 +08:00
修复:创建表索引错误修复
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class CreateHomeTopSettings < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :home_top_settings do |t|
|
||||
create_table :home_top_settings, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8' do |t|
|
||||
t.references :user
|
||||
t.references :top, polymorphic: true, index: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user