Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

softDeletes does not seem to work as expected #25

Closed
ja-tomasz opened this issue Jan 28, 2017 · 6 comments
Closed

softDeletes does not seem to work as expected #25

ja-tomasz opened this issue Jan 28, 2017 · 6 comments
Labels

Comments

@ja-tomasz
Copy link

ja-tomasz commented Jan 28, 2017

it doesn't add

use Illuminate\Database\Eloquent\SoftDeletes;
(...)
use SoftDeletes

...to the model. I tried php artisan wn:resource test tekst;string;; --add=timestamps;softDeletes and also the resources file

@webNeat webNeat added the bug label Jan 28, 2017
@webNeat
Copy link
Owner

webNeat commented Jan 28, 2017

Hello, Thanks for reporting this bug, will to fix it soon

@webNeat
Copy link
Owner

webNeat commented Jan 28, 2017

Fixed 8e57d36 😄

@webNeat webNeat closed this as completed Jan 28, 2017
@ja-tomasz
Copy link
Author

Great! Thanks!

@ja-tomasz
Copy link
Author

ja-tomasz commented Feb 3, 2017

this still does not work properly - the trait does not get found due to fully qualified class name being referenced from the App level:

Fatal error: Trait 'App\Illuminate\Database\Eloquent\SoftDeletes' not found in ...

this works fine:

use \Illuminate\Database\Eloquent\SoftDeletes;

@webNeat
Copy link
Owner

webNeat commented Feb 3, 2017

my bad, willing to fix this

@webNeat webNeat reopened this Feb 3, 2017
@webNeat
Copy link
Owner

webNeat commented Feb 5, 2017

@webNeat webNeat closed this as completed May 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants