My goal is to remove all tables in database(I'm using mySQL). Everytime I use sqlclear, it required app_names. How to remove all tables for each app?
Asked
Active
Viewed 353 times
0
-
i want to understand , you like to clear the data from your table, or you want to completely drop the tables – drabo2005 Aug 16 '13 at 09:09
-
See relevant thread: http://stackoverflow.com/questions/3414247/django-drop-all-tables-from-database – alecxe Aug 16 '13 at 09:13
-
i hope you got a better answer with @alecxe thread – drabo2005 Aug 16 '13 at 11:08
1 Answers
1
As far as I know, there is no management command to drop all tables. You can write your own custom command to do that. Or you can use MySQL command to drop and create your database and then run syncdb
.

arulmr
- 8,620
- 9
- 54
- 69