abiao лет назад: 5
Родитель
Сommit
c265d8cc42
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      db/migrate/20201219114699_create_profit_users.rb

+ 5 - 0
db/migrate/20201219114699_create_profit_users.rb

@@ -10,10 +10,15 @@ class CreateProfitUsers < ActiveRecord::Migration
       t.timestamps
     end
     add_index :profit_users, :wx_user_id
+    add_column :cash_balances, :profit_flag, :bool
+    add_column :cash_balances, :trade_no,:string
+
   end
 
   def down
     drop_table :profit_users
+    remove_column :cash_balances, :trade_no
+    remove_column :cash_balances, :profit_flag
   end
 
 end