Sfoglia il codice sorgente

add balance promotion shop promotion

abiao 4 anni fa
parent
commit
76a41ed365
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      db/migrate/20210325114688_create_recharge_promotions.rb

+ 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