Browse Source

修复:创建表索引错误修复

pull/347/head
yystopf 1 year ago
parent
commit
8725e9ef8c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      db/migrate/20240715072430_create_home_top_settings.rb

+ 1
- 1
db/migrate/20240715072430_create_home_top_settings.rb View File

@@ -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



Loading…
Cancel
Save