Ver código fonte

add balance promotion shop promotion

abiao 4 anos atrás
pai
commit
76a41ed365

+ 2 - 2
db/migrate/20210325114688_create_recharge_promotions.rb

@@ -72,8 +72,8 @@ class CreateRechargePromotions < ActiveRecord::Migration
       t.timestamps
     end
 
-    add_index :presents, :begin_time
-    add_index :presents, :send_prod1
+    add_index :presents, :wx_user_id
+    add_index :presents, :order_id
 
     add_column :balance_promotions, :max_total, :integer, :default=>0,:limit => 11
     add_column :balance_promotions, :depart, :integer, :default=>0,:limit => 11