-
Notifications
You must be signed in to change notification settings - Fork 40
Command line toolbox
Xavi edited this page Feb 17, 2018
·
2 revisions
Delete everything added by the Demo Seeder (categories, tickets, users, agents...) except priorities and statuses, that may be added before intentionally
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