newsletter checkboxes in funding
[wolnelektury.git] / scripts / drop-tables
1 #!/bin/bash
2 DATABASE=$1
3 USERNAME=$2
4 PASSWORD=$3
5 mysqldump -u$USERNAME -p$PASSWORD --add-drop-table --no-data $DATABASE | grep ^DROP | mysql -u$USERNAME -p$PASSWORD $DATABASE