mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-31 01:35:15 +02:00
10 lines
214 B
Bash
Executable File
10 lines
214 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# DELETE ALL TABLES
|
|
TABLES=$(mysql -u root development -e "SHOW TABLES IN development;" | awk '{ print $1}' | grep -v '^Tables')
|
|
|
|
for t in $TABLES
|
|
do
|
|
mysql -u root development -e "DROP TABLE $t"
|
|
done
|