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

Installation fails on MariaDB #122

Open
kosmonowt opened this issue May 26, 2017 · 7 comments
Open

Installation fails on MariaDB #122

kosmonowt opened this issue May 26, 2017 · 7 comments
Assignees

Comments

@kosmonowt
Copy link

Hi, I am getting this error during install:

Update failed

"SQLSTATE[HY000]: General error: 1 Cannot add a NOT NULL column with default value NULL (SQL: alter table "clake_userextended_friends" add column "accepted" tinyint(1) not null)" on line 662 of /var/customers/webs/maultrommel/ijhs/vendor/laravel/framework/src/Illuminate/Database/Connection.php

would it be problematic to set a default to this column?

Cheers,
Andreas

@ShawnClake
Copy link
Owner

Hey Andreas, thanks for the catch! A default of 0 will work just fine. I'll fix this in the next update.

Thanks,
Shawn

@kosmonowt
Copy link
Author

Hi @ShawnClake, do you have any Idea when this can be done?

@ShawnClake
Copy link
Owner

Hey @kosmonowt, I expect to have something tanglible to release in a few weeks. Work has been busy and I've been involved in an unrelated project for a few months.

@ControllerNetwork
Copy link
Contributor

Check my comment on issue #130 it may help you @robndg

@ShawnClake
Copy link
Owner

Unfortunately, I have very little time to contribute to this project these days. If anyone has any interest in maintaining this project, send me an email.

@FarhanShares
Copy link

FarhanShares commented Dec 16, 2019

Update: MariaDB 10.4.x with PHP 7.3.x, it is fixed.

@pablorq
Copy link

pablorq commented Apr 15, 2020

Also fails on SQLite DB.

SQLSTATE[HY000]: General error: 1 Cannot add a NOT NULL column with default value NULL (SQL: alter table "clake_userextended_friends" add column "accepted" tinyint(1) not null)

This is on install on OctoberCMS build 464.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants