浏览代码

add balance promotion shop promotion

abiao 4 年之前
父节点
当前提交
76a41ed365
共有 1 个文件被更改,包括 2 次插入2 次删除
  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