Laravel migration with SQLite ‘Cannot add a NOT NULL column with default value NULL’
It looks like this is a SQLite oddity. According to a Laracast forum thread about the same issue: When adding a table from scratch, you can specify NOT NULL. However, you can’t do this when adding a column. SQLite’s specification says you have to have a default for this, which is a poor choice. Looking … Read more