Skip to content

Commit 3e818eb

Browse files
committed
Fix autoloading
1 parent b9c6804 commit 3e818eb

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ This avoids the `Cannot add a NOT NULL column with default value NULL` issue tha
44
an existing table in a migration by initially adding the column as nullable and then modifying the column in a separate migration.
55
It also maps Laravel datatypes that aren't supported in SQLite to avoid [this](https://github.com/laravel/framework/issues/8840).
66

7+
## Installation
8+
`composer require-dev jjclane/laravel-sqlite-migrations --dev`
79

810
## How to use
911
````php

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,10 @@
1212
"email": "contact@jordanlane.me"
1313
}
1414
],
15-
"minimum-stability": "dev"
15+
"autoload": {
16+
"psr-4": {
17+
"JJCLane\\SQLiteMigration\\": "src/"
18+
}
19+
},
20+
"minimum-stability": "stable"
1621
}
File renamed without changes.

0 commit comments

Comments
 (0)