Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Resolves issue with SQLite databases, and defaults #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bradmkjr
Copy link

Adding nullable() allows column to be added to SQLite tables.

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

SQLSTATE[HY000]: General error: 1 Cannot add a NOT NULL column with default value NULL

Adding nullable() allows column to be added to SQLite tables.

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

SQLSTATE[HY000]: General error: 1 Cannot add a NOT NULL column with default value NULL
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant