sqlclear does not notify operator that there is nothing to clear
|Reported by:||jackiekazil||Owned by:||gmunumel|
|Component:||Core (Management commands)||Version:||master|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
I tried passing sqlclear to dbshell and came up with this error, which was non-descript.
$ django-admin.py sqlclear foia_core | django-admin.py dbshell ERROR: syntax error at or near "/" LINE 1: /Users/jacquelinekazil/Projects/code/foia/foia-core/foia_cor...
Then I tried running each command separately. When I ran sqlclear, nothing appeared to happened.
$ django-admin.py sqlclear foia_core $
This is confusing to user if they are expecting something to happen. There should be output to tell the user what happened.
Example: Foo app has no tables in the database.
Change History (10)
comment:1 Changed 14 months ago by russellm
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:4 Changed 14 months ago by gmunumel
- Owner changed from nobody to gmunumel
- Status changed from new to assigned
comment:8 Changed 14 months ago by timo
- Has patch set
- Patch needs improvement set
- Version changed from 1.6 to master