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

Creating Accounts #1

Closed
DJTrb96 opened this issue Oct 28, 2016 · 2 comments
Closed

Creating Accounts #1

DJTrb96 opened this issue Oct 28, 2016 · 2 comments

Comments

@DJTrb96
Copy link

DJTrb96 commented Oct 28, 2016

Not so much a issue however to be able to add users without having a image would be cool out of the box. At the moment it spits out a SQL Error. However im guessing its a fairly simple fix of allowing avatar to be null.

Error:

"
QueryException in Connection.php line 763:
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'avatar' cannot be null (SQL: insert into users (name, email, password, avatar, updated_at, created_at) values (Dad, dad@dad.com, $2y$10$jZPJuDv/gyXLwSKVhx7Z7uohCf1/MqUmZv7cNJnIVrcLIEsESgAay, , 2016-10-28 02:33:34, 2016-10-28 02:33:34))
"

@krugerdavid
Copy link

Hi. A quick fix would be

a) a migration to set nullable the avatar fill

b) change on the DB directly 👍

@tnylea tnylea closed this as completed in #6 Oct 30, 2016
marktopper pushed a commit that referenced this issue Nov 26, 2016
Fixed route for update table in database tool
marktopper pushed a commit that referenced this issue Jan 7, 2017
marktopper pushed a commit that referenced this issue Mar 8, 2017
marktopper pushed a commit that referenced this issue Mar 8, 2017
marktopper pushed a commit that referenced this issue Mar 10, 2017
marktopper pushed a commit that referenced this issue Apr 6, 2017
marktopper pushed a commit that referenced this issue Jun 21, 2017
add required attribute on required input field to prevent db error
akazorg pushed a commit that referenced this issue Jun 25, 2017
marktopper pushed a commit that referenced this issue Aug 23, 2017
* Preserve file upload name when option is set

* Adding default functionality for image name to be preserved

* Getting the styleci tests to pass

* Fixing the primary key issue that was introduced after PR 1452
marktopper pushed a commit that referenced this issue Aug 23, 2017
marktopper pushed a commit that referenced this issue Aug 23, 2017
tnylea pushed a commit that referenced this issue Aug 28, 2017
Refactoring Authorization
marktopper pushed a commit that referenced this issue Sep 15, 2017
@seoeaa seoeaa mentioned this issue Apr 28, 2018
@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants