@cheqd/studio 3.7.0-develop.1 → 3.7.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1750427001486-studio-migrations.d.ts","sourceRoot":"","sources":["../../../src/database/migrations/1750427001486-studio-migrations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE1D,qBAAa,6BAA8B,YAAW,kBAAkB;IACpE,IAAI,SAAkC;IAEzB,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAM3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"1750427001486-studio-migrations.d.ts","sourceRoot":"","sources":["../../../src/database/migrations/1750427001486-studio-migrations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE1D,qBAAa,6BAA8B,YAAW,kBAAkB;IACpE,IAAI,SAAkC;IAEzB,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAM3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CAK7D"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
export class StudioMigrations1750427001486 {
|
|
2
2
|
name = 'StudioMigrations1750427001486';
|
|
3
3
|
async up(queryRunner) {
|
|
4
|
-
await queryRunner.query(`ALTER TABLE "subscription" DROP CONSTRAINT "FK_4fb9a7c3c5b5fecf58989794dcc"`);
|
|
5
4
|
await queryRunner.query(`ALTER TABLE "role" ALTER COLUMN "logToRoleIds" SET DEFAULT '{}'`);
|
|
6
5
|
await queryRunner.query(`ALTER TABLE "payment" ALTER COLUMN "resourceId" DROP NOT NULL`);
|
|
7
6
|
}
|
|
8
7
|
async down(queryRunner) {
|
|
9
8
|
await queryRunner.query(`ALTER TABLE "payment" ALTER COLUMN "resourceId" SET NOT NULL`);
|
|
10
9
|
await queryRunner.query(`ALTER TABLE "role" ALTER COLUMN "logToRoleIds" SET DEFAULT ARRAY[]`);
|
|
11
|
-
await queryRunner.query(`ALTER TABLE "subscription" ADD CONSTRAINT "FK_4fb9a7c3c5b5fecf58989794dcc" FOREIGN KEY ("customerId") REFERENCES "customer"("customerId") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
|
12
10
|
}
|
|
13
11
|
}
|
|
14
12
|
//# sourceMappingURL=1750427001486-studio-migrations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1750427001486-studio-migrations.js","sourceRoot":"","sources":["../../../src/database/migrations/1750427001486-studio-migrations.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,6BAA6B;IACtC,IAAI,GAAG,+BAA+B,CAAA;IAE/B,KAAK,CAAC,EAAE,CAAC,WAAwB;
|
|
1
|
+
{"version":3,"file":"1750427001486-studio-migrations.js","sourceRoot":"","sources":["../../../src/database/migrations/1750427001486-studio-migrations.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,6BAA6B;IACtC,IAAI,GAAG,+BAA+B,CAAA;IAE/B,KAAK,CAAC,EAAE,CAAC,WAAwB;QAEpC,MAAM,WAAW,CAAC,KAAK,CAAC,iEAAiE,CAAC,CAAC;QAC3F,MAAM,WAAW,CAAC,KAAK,CAAC,+DAA+D,CAAC,CAAC;IAC7F,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;QACtC,MAAM,WAAW,CAAC,KAAK,CAAC,8DAA8D,CAAC,CAAC;QACxF,MAAM,WAAW,CAAC,KAAK,CAAC,oEAAoE,CAAC,CAAC;IAClG,CAAC;CAEJ"}
|