Parcourir la source

add balance promotion shop promotion

abiao il y a 4 ans
Parent
commit
b784b843bf
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  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
 
 
     #商城赠品