SQLite Forum

alter table "table" add column "name" varchar not null throws Cannot add a NOT NULL column with default value NULL
Login
Here is the SQL:

```
create table permissions
(
    id               bigint unsigned auto_increment
        primary key,
    name             varchar(191)         not null,
    guard_name       varchar(191)         not null,
    for_organization tinyint(1) default 0 not null,
    created_at       timestamp            null,
    updated_at       timestamp            null
)
    collate = utf8mb4_unicode_ci;


alter table "permissions" add column "title" varchar not null
```