Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
haipome committed Nov 3, 2017
1 parent ac46454 commit 46a01f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sql/init_trade_history.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ do
echo "create table deal_history_$i"
mysql -h$MYSQL_HOST -u$MYSQL_USER -p$MYSQL_PASS $MYSQL_DB -e "CREATE TABLE deal_history_$i LIKE deal_history_example;"
done

for i in `seq 0 99`
do
echo "create table user_deal_history_$i"
mysql -h$MYSQL_HOST -u$MYSQL_USER -p$MYSQL_PASS $MYSQL_DB -e "CREATE TABLE user_deal_history_$i LIKE user_deal_history_example;"
done

0 comments on commit 46a01f7

Please sign in to comment.