소스 검색

add balance promotion shop promotion

abiao 5 년 전
부모
커밋
b784b843bf
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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
 
 
     #商城赠品