summaryrefslogtreecommitdiffstats
path: root/drop-all-tables.sh
diff options
context:
space:
mode:
authorBruno Sarlo <bruno@bruno-laptop.(none)>2009-08-08 21:43:46 -0300
committerBruno Sarlo <bruno@bruno-laptop.(none)>2009-08-08 21:43:46 -0300
commit9092721573a3443e0ab63da7883324684838c358 (patch)
tree871b0856af5e2dd5b816ee419857a38f80cd6b87 /drop-all-tables.sh
parent57b1535b08e97f93529e0a8e1de16a538f3c4348 (diff)
parentaa8c379c31d251b0882213d34fbeb387d6ffa473 (diff)
downloadaskbot-9092721573a3443e0ab63da7883324684838c358.tar.gz
askbot-9092721573a3443e0ab63da7883324684838c358.tar.bz2
askbot-9092721573a3443e0ab63da7883324684838c358.zip
Merge branch 'master' of git://github.com/evgenyfadeev/CNPROG
* Merge of Spanish translation, still missing some texts. * Custom colors for preguntalo project Conflicts: locale/es/LC_MESSAGES/django.mo locale/es/LC_MESSAGES/django.po templates/content/style/style.css
Diffstat (limited to 'drop-all-tables.sh')
-rw-r--r--drop-all-tables.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/drop-all-tables.sh b/drop-all-tables.sh
new file mode 100644
index 00000000..87783b77
--- /dev/null
+++ b/drop-all-tables.sh
@@ -0,0 +1,4 @@
+mysql_username='cnprog'
+mysql_database='cnprog'
+mysqldump -u $mysql_username -p --add-drop-table --no-data $mysql_database | grep ^DROP
+#| mysql -u[USERNAME] -p[PASSWORD] [DATABASE]