Skip to content

Commit 5d67a3e

Browse files
committed
Update docs for migration refactor
1 parent 407cccd commit 5d67a3e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Lightweight traffic tracking for CodeIgniter 4
44
## Quick Start
55

66
1. Install with Composer: `> composer require tatter/visits`
7-
2. Update the database: `> php spark migrate:latest -n Tatter`
7+
2. Update the database: `> php spark migrate -all`
88
3. Visits will be recorded automatically by a system event
99

1010
## Features
@@ -22,7 +22,7 @@ Or, install manually by downloading the source files and adding the directory to
2222

2323
Once the files are downloaded and included in the autoload, run any library migrations
2424
to ensure the database is setup correctly:
25-
* `> php spark migrate:latest -n Tatter`
25+
* `> php spark migrate -all`
2626

2727
**Pro Tip:** You can add the spark command to your composer.json to ensure your database is
2828
always current with the latest release:
@@ -31,8 +31,8 @@ always current with the latest release:
3131
...
3232
"scripts": {
3333
"post-update-cmd": [
34-
"composer dump-autoload",
35-
"php spark migrate:latest -all"
34+
"@composer dump-autoload",
35+
"php spark migrate -all"
3636
]
3737
},
3838
...

0 commit comments

Comments
 (0)