Ver código fonte

add product commend

abiao 4 anos atrás
pai
commit
13d205d5ff

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

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