Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Command line toolbox

Jump to bottom
Xavi edited this page Sep 2, 2018 * 2 revisions

Artisan commands

panichd:demo-rollback

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

panichd:wipe-off-lists

It lets you delete all content from categories, priorities or statuses. Or all of them together.

panichd:wipe-off-tickets

Delete all tickets and truncate ticket table to reset autoindex

Seeders

Basic seeder

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

DemoDataSeeder

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

Clone this wiki locally