stepwise-migrations 1.0.2 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
@@ -4,10 +4,18 @@ A tool for managing Raw SQL migrations in a Postgres database.
|
|
4
4
|
Loosely based on flyway.
|
5
5
|
Only "up" migrations are supported so far, but what more do you need?
|
6
6
|
|
7
|
+
## Notes
|
8
|
+
|
9
|
+
All files ending in `.sql` in the migration directory will be applied.
|
10
|
+
They are first sorted in ascending order based on filename.
|
11
|
+
No subdirectories are read below the migration directory.
|
12
|
+
|
7
13
|
## Usage
|
8
14
|
|
9
15
|
### Migrate
|
10
16
|
|
17
|
+
Command:
|
18
|
+
|
11
19
|
```bash
|
12
20
|
npx stepwise-migrations migrate \
|
13
21
|
--connection=postgresql://postgres:postgres@127.0.0.1:5432/mydb \
|