ShawnClake/UserExtended

Installation fails on MariaDB

Opened this issue · 7 comments

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

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

Thanks,
Shawn

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

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.

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

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.

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

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.