abiao лет назад: 4
Родитель
Сommit
13d205d5ff
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      db/migrate/20210220114641_create_product_commends.rb

+ 2 - 1
db/migrate/20210220114641_create_product_commends.rb

@@ -23,7 +23,8 @@ class CreateProductCommends < ActiveRecord::Migration
       t.column :remark, :string,:limit => 256
       t.column :remark, :string,:limit => 256
       t.timestamps
       t.timestamps
     end
     end
-    add_index :product_commends, :admin_user_id
+    add_index :product_commends, :wx_user_id
+    add_index :product_commends, :product_id
 
 
   end
   end