@socialgouv/matomo-postgres 2.2.0-alpha.1 → 2.2.0-alpha.2
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.
- package/dist/migrate-down.js +1 -1
- package/dist/migrate-latest.js +1 -1
- package/package.json +1 -1
package/dist/migrate-down.js
CHANGED
|
@@ -18,7 +18,7 @@ function migrateDown() {
|
|
|
18
18
|
provider: new FileMigrationProvider({
|
|
19
19
|
fs,
|
|
20
20
|
path,
|
|
21
|
-
migrationFolder: path.
|
|
21
|
+
migrationFolder: path.join(path.dirname(new URL(import.meta.url).pathname), 'migrations')
|
|
22
22
|
})
|
|
23
23
|
});
|
|
24
24
|
const { error, results } = yield migrator.migrateDown();
|
package/dist/migrate-latest.js
CHANGED
|
@@ -21,7 +21,7 @@ function migrateToLatest() {
|
|
|
21
21
|
provider: new FileMigrationProvider({
|
|
22
22
|
fs,
|
|
23
23
|
path,
|
|
24
|
-
migrationFolder: path.
|
|
24
|
+
migrationFolder: path.join(path.dirname(new URL(import.meta.url).pathname), 'migrations')
|
|
25
25
|
}),
|
|
26
26
|
// allow to have mutliple migratable instances in a single schema
|
|
27
27
|
migrationTableName: `${MATOMO_TABLE_NAME}_migration`,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@socialgouv/matomo-postgres",
|
|
3
3
|
"description": "Extract visitor events from Matomo API and push to Postgres",
|
|
4
|
-
"version": "2.2.0-alpha.
|
|
4
|
+
"version": "2.2.0-alpha.2",
|
|
5
5
|
"types": "types/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/index.js",
|