Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix sql #1589

Merged
merged 1 commit into from
Dec 22, 2023
Merged

fix sql #1589

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ spec:
- sh
- -c
- |
mysqldump -umcserver -p${DB_PASSWORD} -h192.168.2.186 --databases seichiassist flyway_managed_schema --ignore-table=seichiassist.playerdata --ignore-table=seichiassist.mine_stack > /docker-entrypoint-initdb.d/seichiassist.sql
mysqldump -umcserver -p${DB_PASSWORD} -h192.168.2.186 --databases seichiassist --tables playerdata --where 'lastquit > "2022-01-01 00:00:00"' >> /docker-entrypoint-initdb.d/seichiassist.sql
mysqldump -umcserver -p${DB_PASSWORD} -h192.168.2.186 --databases seichiassist --tables mine_stack --where 'amount != 0' >> /docker-entrypoint-initdb.d/seichiassist.sql
mysqldump -umcserver -p${DB_PASSWORD} -h192.168.2.186 --databases seichiassist flyway_managed_schema --ignore-table=seichiassist.playerdata --ignore-table=seichiassist.mine_stack > /docker-entrypoint-initdb.d/00_seichiassist-without-playerdaya.sql
mysqldump -umcserver -p${DB_PASSWORD} -h192.168.2.186 seichiassist playerdata --where 'lastquit > "2022-01-01 00:00:00"' > /docker-entrypoint-initdb.d/01_playerdata.sql
mysqldump -umcserver -p${DB_PASSWORD} -h192.168.2.186 seichiassist mine_stack --where 'amount != 0' > /docker-entrypoint-initdb.d/02_mine_stack.sql
volumeMounts:
- mountPath: /docker-entrypoint-initdb.d
name: sqldump-volume
Expand Down