Skip to content

Feature/remove users controller#72

Open
mateuszR84 wants to merge 7 commits intodevelopfrom
feature/remove-userrs-controller
Open

Feature/remove users controller#72
mateuszR84 wants to merge 7 commits intodevelopfrom
feature/remove-userrs-controller

Conversation

@mateuszR84
Copy link

No description provided.

if (\Schema::hasColumn('users', 'is_activated')) {
$user->is_activated = 1;
} else {
$user->activated_at = Carbon::now()->subDays(1);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about created_at?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i've used activated_at because i thought that created_at is not the same as activated_at

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants