Skip to content

Commit

Permalink
add function to remove users and password_resets instead from drop mi…
Browse files Browse the repository at this point in the history
…gration
  • Loading branch information
fherryfherry committed Feb 13, 2017
1 parent 4d54728 commit c59caaf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 56 deletions.
3 changes: 3 additions & 0 deletions src/CRUDBoosterServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ public function boot()
if(!file_exists(app_path('Http/Controllers/AdminCmsUsersController.php'))) {
$this->publishes([__DIR__.'/userfiles/controllers/AdminCmsUsersController.php' => app_path('Http/Controllers/AdminCmsUsersController.php')],'cb_user_controller');
}

@unlink(base_path('database/migrations/2014_10_12_000000_create_users_table.php'));
@unlink(base_path('database/migrations/2014_10_12_100000_create_password_resets_table.php'));

require __DIR__.'/validations/validation.php';
require __DIR__.'/routes.php';
Expand Down

This file was deleted.

28 changes: 0 additions & 28 deletions src/database/migrations/2017_02_13_152131_drop_password_reset.php

This file was deleted.

0 comments on commit c59caaf

Please sign in to comment.