Global Feed Post Login
Replying to 3631bd2f...

I have a very weird problem with #SQLite. My Laravel migration is adding a new varchar(255) column thats not nullable. MySQL and SQLite on my local will run the migration no problem.

However, when ran in our test suite, SQLite returns "General error: 1 Cannot add a NOT NULL column with default value NULL"

Why is SQLite on my computer running it and not the one in our test infra?

#PHP #WebDev

Avatar
The Photonsphere 11mo ago

There's test data in your test infra only?

Reply to this note

Please Login to reply.

Discussion

No replies yet.