|
| $signature = 'pave' |
|
| $description = 'Pave the database to start over. This should ALMOST NEVER BE USED. (It is primarily a quick tool for developers.)' |
|
Definition at line 8 of file PaveIt.php.
App\Console\Commands\PaveIt::__construct |
( |
| ) |
|
Create a new command instance.
- Returns
- void
Definition at line 29 of file PaveIt.php.
31 parent::__construct();
App\Console\Commands\PaveIt::handle |
( |
| ) |
|
Execute the console command.
- Returns
- mixed
Definition at line 39 of file PaveIt.php.
42 if ($this->confirm(
"\n****************************************************\nTHIS WILL DROP ALL OF THE TABLES IN YOUR DATABASE. \nThere is NO undo. This WILL destroy ALL of your data. \n****************************************************\n\nDo you wish to continue? No backsies! [y|N]")) {
44 \DB::statement(
'drop table IF EXISTS accessories_users');
45 \DB::statement(
'drop table IF EXISTS accessories');
46 \DB::statement(
'drop table IF EXISTS asset_logs');
47 \DB::statement(
'drop table IF EXISTS asset_maintenances');
48 \DB::statement(
'drop table IF EXISTS asset_uploads');
49 \DB::statement(
'drop table IF EXISTS assets');
50 \DB::statement(
'drop table IF EXISTS categories');
51 \DB::statement(
'drop table IF EXISTS companies');
52 \DB::statement(
'drop table IF EXISTS consumables_users');
53 \DB::statement(
'drop table IF EXISTS consumables');
54 \DB::statement(
'drop table IF EXISTS custom_field_custom_fieldset');
55 \DB::statement(
'drop table IF EXISTS custom_fields');
56 \DB::statement(
'drop table IF EXISTS custom_fieldsets');
57 \DB::statement(
'drop table IF EXISTS depreciations');
58 \DB::statement(
'drop table IF EXISTS groups');
60 \DB::statement(
'drop table IF EXISTS license_seats');
61 \DB::statement(
'drop table IF EXISTS licenses');
62 \DB::statement(
'drop table IF EXISTS locations');
63 \DB::statement(
'drop table IF EXISTS manufacturers');
64 \DB::statement(
'drop table IF EXISTS models');
65 \DB::statement(
'drop table IF EXISTS migrations');
66 \DB::statement(
'drop table IF EXISTS password_resets');
67 \DB::statement(
'drop table IF EXISTS requested_assets');
68 \DB::statement(
'drop table IF EXISTS requests');
69 \DB::statement(
'drop table IF EXISTS settings');
70 \DB::statement(
'drop table IF EXISTS status_labels');
71 \DB::statement(
'drop table IF EXISTS suppliers');
72 \DB::statement(
'drop table IF EXISTS throttle');
73 \DB::statement(
'drop table IF EXISTS users_groups');
74 \DB::statement(
'drop table IF EXISTS users');
App\Console\Commands\PaveIt::$description = 'Pave the database to start over. This should ALMOST NEVER BE USED. (It is primarily a quick tool for developers.)' |
|
protected |
App\Console\Commands\PaveIt::$signature = 'pave' |
|
protected |
The documentation for this class was generated from the following file: