Selaa lähdekoodia

add balance promotion shop promotion

abiao 4 vuotta sitten
vanhempi
commit
b784b843bf
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      db/migrate/20210325114688_create_recharge_promotions.rb

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

@@ -46,8 +46,7 @@ class CreateRechargePromotions < ActiveRecord::Migration
 
     add_index :shop_promotions, :begin_time
     add_index :shop_promotions, :end_time
-    add_index :shop_promotions, :min_total
-    add_index :shop_promotions, :max_total
+    add_index :shop_promotions, :total
 
 
     #商城赠品