@blackglory/sqlite3-migrations 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -17,8 +17,8 @@ yarn add @blackglory/sqlite3-migrations
17
17
  ```ts
18
18
  interface IMigration {
19
19
  version: number
20
- up: string | ((db: Database) => void)
21
- down: string | ((db: Database) => void)
20
+ up: string | ((db: Database) => PromiseLike<void>)
21
+ down: string | ((db: Database) => PromiseLike<void>)
22
22
  }
23
23
  ```
24
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blackglory/sqlite3-migrations",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "A utility for database migrations with sqlite3",
5
5
  "keywords": [
6
6
  "migration",