PHPackages                             ottowayne/sqlite-migration-fix - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. ottowayne/sqlite-migration-fix

ActiveLibrary[Database &amp; ORM](/categories/database)

ottowayne/sqlite-migration-fix
==============================

Laravel package to fix SQLite migrations by making all columns nullable in testing environments

32.9k1PHP

Since Feb 3Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ottowayne/sqlite-migration-fix)[ Packagist](https://packagist.org/packages/ottowayne/sqlite-migration-fix)[ RSS](/packages/ottowayne-sqlite-migration-fix/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel SQLite Migration Fix
============================

[](#laravel-sqlite-migration-fix)

This will fix the SQLite error *Cannot add a NOT NULL column with default value NULL* by making all columns nullable in testing environments.

**Please note that this changes the behaviour of your app and thus may alter your test results.**

Compatibility
-------------

[](#compatibility)

- Laravel 5.0

Installation
------------

[](#installation)

To install via composer add the following line to your composer.json:

```
"ottowayne/sqlite-migration-fix": "dev-master"

```

I recommend using this package in local environments (require-dev) only.

Finally add the service provider to your app.php:

```
'Ottowayne\SQLiteMigrationFix\DatabaseServiceProvider',

```

Usage
-----

[](#usage)

After adding the service provider you are done. The changes will only apply to the *testing*-environment.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/598e469072736171ffca4d0f2304f9cc6b2e90dd5b592e6a42ac499895fe83a4?d=identicon)[ottowayne](/maintainers/ottowayne)

---

Top Contributors

[![ottowayne](https://avatars.githubusercontent.com/u/225291?v=4)](https://github.com/ottowayne "ottowayne (3 commits)")

### Embed Badge

![Health badge](/badges/ottowayne-sqlite-migration-fix/health.svg)

```
[![Health](https://phpackages.com/badges/ottowayne-sqlite-migration-fix/health.svg)](https://phpackages.com/packages/ottowayne-sqlite-migration-fix)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M118](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198741.5k12](/packages/pgvector-pgvector)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
