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 1mo ago

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 37% 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

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90440.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)[wildside/userstamps

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7511.7M13](/packages/wildside-userstamps)

PHPackages © 2026

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