@procxo/shared 1.0.5 → 1.0.6

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.
@@ -0,0 +1,7 @@
1
+ import { MigrationInterface, QueryRunner } from "typeorm";
2
+ export declare class UptodateTables1775111804920 implements MigrationInterface {
3
+ name: string;
4
+ up(queryRunner: QueryRunner): Promise<void>;
5
+ down(queryRunner: QueryRunner): Promise<void>;
6
+ }
7
+ //# sourceMappingURL=1775111804920-uptodate_tables.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1775111804920-uptodate_tables.d.ts","sourceRoot":"","sources":["../../../src/database/migrations/1775111804920-uptodate_tables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE1D,qBAAa,2BAA4B,YAAW,kBAAkB;IAClE,IAAI,SAAgC;IAEvB,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAa3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CAa7D"}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UptodateTables1775111804920 = void 0;
4
+ class UptodateTables1775111804920 {
5
+ name = 'UptodateTables1775111804920';
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`ALTER TABLE "core"."credit_notes" ADD "pdf_url" character varying`);
8
+ await queryRunner.query(`ALTER TABLE "core"."invoices" ADD "zohobooks_id" character varying(255)`);
9
+ await queryRunner.query(`ALTER TABLE "core"."invoices" ADD "zohobooks_sync_token" character varying(50)`);
10
+ await queryRunner.query(`ALTER TABLE "core"."invoices" ADD "last_synced_at_zoho" TIMESTAMP`);
11
+ await queryRunner.query(`ALTER TABLE "core"."clients" ADD "attachment" character varying`);
12
+ await queryRunner.query(`ALTER TABLE "core"."clients" ADD "zohobooks_id" character varying(255)`);
13
+ await queryRunner.query(`ALTER TABLE "core"."clients" ADD "zohobooks_sync_token" character varying(50)`);
14
+ await queryRunner.query(`ALTER TABLE "core"."clients" ADD "last_synced_at_zoho" TIMESTAMP`);
15
+ await queryRunner.query(`ALTER TABLE "user"."file_data" ADD "folder_path" character varying`);
16
+ await queryRunner.query(`ALTER TABLE "user"."file_data" ADD "file_url" character varying`);
17
+ }
18
+ async down(queryRunner) {
19
+ await queryRunner.query(`ALTER TABLE "user"."file_data" DROP COLUMN "file_url"`);
20
+ await queryRunner.query(`ALTER TABLE "user"."file_data" DROP COLUMN "folder_path"`);
21
+ await queryRunner.query(`ALTER TABLE "core"."clients" DROP COLUMN "last_synced_at_zoho"`);
22
+ await queryRunner.query(`ALTER TABLE "core"."clients" DROP COLUMN "zohobooks_sync_token"`);
23
+ await queryRunner.query(`ALTER TABLE "core"."clients" DROP COLUMN "zohobooks_id"`);
24
+ await queryRunner.query(`ALTER TABLE "core"."clients" DROP COLUMN "attachment"`);
25
+ await queryRunner.query(`ALTER TABLE "core"."invoices" DROP COLUMN "last_synced_at_zoho"`);
26
+ await queryRunner.query(`ALTER TABLE "core"."invoices" DROP COLUMN "zohobooks_sync_token"`);
27
+ await queryRunner.query(`ALTER TABLE "core"."invoices" DROP COLUMN "zohobooks_id"`);
28
+ await queryRunner.query(`ALTER TABLE "core"."credit_notes" DROP COLUMN "pdf_url"`);
29
+ }
30
+ }
31
+ exports.UptodateTables1775111804920 = UptodateTables1775111804920;
32
+ //# sourceMappingURL=1775111804920-uptodate_tables.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1775111804920-uptodate_tables.js","sourceRoot":"","sources":["../../../src/database/migrations/1775111804920-uptodate_tables.ts"],"names":[],"mappings":";;;AAEA,MAAa,2BAA2B;IACpC,IAAI,GAAG,6BAA6B,CAAA;IAE7B,KAAK,CAAC,EAAE,CAAC,WAAwB;QACpC,MAAM,WAAW,CAAC,KAAK,CAAC,mEAAmE,CAAC,CAAC;QAC7F,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