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

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