-
Notifications
You must be signed in to change notification settings - Fork 41
Command line toolbox
Xavi edited this page Sep 2, 2018
·
2 revisions
Deletes all demo content added by the Demo Seeder: Categories, tickets, users, agents. It will not delete:
- Any category that doesn't have the "Demo" prefix.
- Priorities and statuses. To delete them you will have to use panichd:wipe-off-lists command
It lets you delete all content from categories, priorities or statuses. Or all of them together.
Delete all tickets and truncate ticket table to reset autoindex
Includes basic priorities and statuses lists and also a category
php artisan db:seed --class=PanicHD\\PanicHD\\Seeds\\Basic
You can also add any of the lists separately as they have their own seeder files:
- Basic priorities
php artisan db:seed --class=PanicHD\\PanicHD\\Seeds\\BasicPriorities
- Basic statuses
php artisan db:seed --class=PanicHD\\PanicHD\\Seeds\\BasicStatuses
It creates demo users, agents, categories with tags and tickets
php artisan db:seed --class=PanicHD\\PanicHD\\Seeds\\DemoDataSeeder
Remember you can rollback it using the artisan command panichd:demo-rollback