@sqb/migrator 4.20.0 → 4.20.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.
@@ -10,19 +10,16 @@ const migration_package_js_1 = require("../migration-package.js");
10
10
  const types_js_1 = require("../types.js");
11
11
  const pgAdapter = new postgres_1.PgAdapter();
12
12
  class PgMigrationAdapter extends migration_adapter_js_1.MigrationAdapter {
13
- constructor() {
14
- super(...arguments);
15
- this._infoSchema = 'public';
16
- this._version = 0;
17
- this._status = types_js_1.MigrationStatus.idle;
18
- this.defaultVariables = {
19
- tablespace: 'pg_default',
20
- schema: 'public',
21
- owner: 'postgres',
22
- };
23
- this.summaryTable = 'migration_summary';
24
- this.eventTable = 'migration_events';
25
- }
13
+ _infoSchema = 'public';
14
+ _version = 0;
15
+ _status = types_js_1.MigrationStatus.idle;
16
+ defaultVariables = {
17
+ tablespace: 'pg_default',
18
+ schema: 'public',
19
+ owner: 'postgres',
20
+ };
21
+ summaryTable = 'migration_summary';
22
+ eventTable = 'migration_events';
26
23
  get packageName() {
27
24
  return this._migrationPackage.name;
28
25
  }
@@ -6,19 +6,16 @@ import { isCustomMigrationTask, isInsertDataMigrationTask, isSqlScriptMigrationT
6
6
  import { MigrationStatus } from '../types.js';
7
7
  const pgAdapter = new PgAdapter();
8
8
  export class PgMigrationAdapter extends MigrationAdapter {
9
- constructor() {
10
- super(...arguments);
11
- this._infoSchema = 'public';
12
- this._version = 0;
13
- this._status = MigrationStatus.idle;
14
- this.defaultVariables = {
15
- tablespace: 'pg_default',
16
- schema: 'public',
17
- owner: 'postgres',
18
- };
19
- this.summaryTable = 'migration_summary';
20
- this.eventTable = 'migration_events';
21
- }
9
+ _infoSchema = 'public';
10
+ _version = 0;
11
+ _status = MigrationStatus.idle;
12
+ defaultVariables = {
13
+ tablespace: 'pg_default',
14
+ schema: 'public',
15
+ owner: 'postgres',
16
+ };
17
+ summaryTable = 'migration_summary';
18
+ eventTable = 'migration_events';
22
19
  get packageName() {
23
20
  return this._migrationPackage.name;
24
21
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sqb/migrator",
3
3
  "description": "Database migrator for SQB",
4
- "version": "4.20.0",
4
+ "version": "4.20.1",
5
5
  "author": "Panates",
6
6
  "license": "Apache-2.0",
7
7
  "dependencies": {
@@ -12,9 +12,9 @@
12
12
  "tslib": "^2.8.1"
13
13
  },
14
14
  "peerDependencies": {
15
- "@sqb/builder": "^4.20.0",
16
- "@sqb/connect": "^4.20.0",
17
- "@sqb/postgres": "^4.20.0"
15
+ "@sqb/builder": "^4.20.1",
16
+ "@sqb/connect": "^4.20.1",
17
+ "@sqb/postgres": "^4.20.1"
18
18
  },
19
19
  "type": "module",
20
20
  "exports": {