@reachu/database 1.0.145 → 1.0.147
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/entity/OrderItem.js +1 -1
- package/dist/entity/OrderItem.js.map +1 -1
- package/dist/migrations/1702302929376-order-item-varianttitle-nullable.d.ts +6 -0
- package/dist/migrations/1702302929376-order-item-varianttitle-nullable.js +29 -0
- package/dist/migrations/1702302929376-order-item-varianttitle-nullable.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +60 -82
- package/package.json +3 -3
- package/src/entity/OrderItem.ts +1 -1
- package/src/migrations/1702302929376-order-item-varianttitle-nullable.ts +14 -0
package/dist/entity/OrderItem.js
CHANGED
|
@@ -66,7 +66,7 @@ __decorate([
|
|
|
66
66
|
__metadata("design:type", String)
|
|
67
67
|
], OrderItem.prototype, "sku", void 0);
|
|
68
68
|
__decorate([
|
|
69
|
-
typeorm_1.Column('varchar'),
|
|
69
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
70
70
|
__metadata("design:type", String)
|
|
71
71
|
], OrderItem.prototype, "variantTitle", void 0);
|
|
72
72
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrderItem.js","sourceRoot":"","sources":["../../src/entity/OrderItem.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCASiB;AACjB,oDAA4B;AAC5B,kDAA0B;AAC1B,qDAA2C;AAC3C,sEAA8C;AAC9C,oEAA4C;AAG5C,IAAqB,SAAS,GAA9B,MAAqB,SAAS;IA2F5B,eAAe;QACb,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;QAC5C,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;QAC1D,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,GA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AAM,EAAE;GACY,SAAS,CAoG7B;kBApGoB,SAAS"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MigrationInterface, QueryRunner } from "typeorm";
|
|
2
|
+
export declare class orderItemVarianttitleNullable1702302929376 implements MigrationInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
up(queryRunner: QueryRunner): Promise<void>;
|
|
5
|
+
down(queryRunner: QueryRunner): Promise<void>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.orderItemVarianttitleNullable1702302929376 = void 0;
|
|
13
|
+
class orderItemVarianttitleNullable1702302929376 {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.name = 'orderItemVarianttitleNullable1702302929376';
|
|
16
|
+
}
|
|
17
|
+
up(queryRunner) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
yield queryRunner.query(`ALTER TABLE \`order_item\` CHANGE \`variant_title\` \`variant_title\` varchar(255) NULL`);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
down(queryRunner) {
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
yield queryRunner.query(`ALTER TABLE \`order_item\` CHANGE \`variant_title\` \`variant_title\` varchar(255) NOT NULL`);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.orderItemVarianttitleNullable1702302929376 = orderItemVarianttitleNullable1702302929376;
|
|
29
|
+
//# sourceMappingURL=1702302929376-order-item-varianttitle-nullable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1702302929376-order-item-varianttitle-nullable.js","sourceRoot":"","sources":["../../src/migrations/1702302929376-order-item-varianttitle-nullable.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,0CAA0C;IAAvD;QACI,SAAI,GAAG,4CAA4C,CAAA;IAUvD,CAAC;IARgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,yFAAyF,CAAC,CAAC;QACvH,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,6FAA6F,CAAC,CAAC;QAC3H,CAAC;KAAA;CAEJ;AAXD,gGAWC"}
|
|
@@ -2236,59 +2236,44 @@
|
|
|
2236
2236
|
"signature": "744e6430bafc6f39f66c4fc1e6a0d8c9551260ffd1782aa7e3f5166ac6aa1f86",
|
|
2237
2237
|
"affectsGlobalScope": false
|
|
2238
2238
|
},
|
|
2239
|
-
"../node_modules/@types/
|
|
2240
|
-
"version": "
|
|
2241
|
-
"signature": "
|
|
2242
|
-
"affectsGlobalScope": false
|
|
2243
|
-
},
|
|
2244
|
-
"../node_modules/@types/send/index.d.ts": {
|
|
2245
|
-
"version": "b78cd10245a90e27e62d0558564f5d9a16576294eee724a59ae21b91f9269e4a",
|
|
2246
|
-
"signature": "b78cd10245a90e27e62d0558564f5d9a16576294eee724a59ae21b91f9269e4a",
|
|
2239
|
+
"../node_modules/@types/range-parser/index.d.ts": {
|
|
2240
|
+
"version": "16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c",
|
|
2241
|
+
"signature": "16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c",
|
|
2247
2242
|
"affectsGlobalScope": false
|
|
2248
2243
|
},
|
|
2249
2244
|
"../node_modules/@types/qs/index.d.ts": {
|
|
2250
|
-
"version": "
|
|
2251
|
-
"signature": "
|
|
2252
|
-
"affectsGlobalScope": false
|
|
2253
|
-
},
|
|
2254
|
-
"../node_modules/@types/range-parser/index.d.ts": {
|
|
2255
|
-
"version": "2f5747b1508ccf83fad0c251ba1e5da2f5a30b78b09ffa1cfaf633045160afed",
|
|
2256
|
-
"signature": "2f5747b1508ccf83fad0c251ba1e5da2f5a30b78b09ffa1cfaf633045160afed",
|
|
2245
|
+
"version": "ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",
|
|
2246
|
+
"signature": "ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",
|
|
2257
2247
|
"affectsGlobalScope": false
|
|
2258
2248
|
},
|
|
2259
2249
|
"../node_modules/@types/express-serve-static-core/index.d.ts": {
|
|
2260
|
-
"version": "
|
|
2261
|
-
"signature": "
|
|
2250
|
+
"version": "c5dd1fef4cd4aaffc78786047bed5ae6fc1200d19a1946cbc4e2d3ed4d62c8fa",
|
|
2251
|
+
"signature": "c5dd1fef4cd4aaffc78786047bed5ae6fc1200d19a1946cbc4e2d3ed4d62c8fa",
|
|
2262
2252
|
"affectsGlobalScope": true
|
|
2263
2253
|
},
|
|
2264
|
-
"../node_modules/@types/http-errors/index.d.ts": {
|
|
2265
|
-
"version": "b71c603a539078a5e3a039b20f2b0a0d1708967530cf97dec8850a9ca45baa2b",
|
|
2266
|
-
"signature": "b71c603a539078a5e3a039b20f2b0a0d1708967530cf97dec8850a9ca45baa2b",
|
|
2267
|
-
"affectsGlobalScope": false
|
|
2268
|
-
},
|
|
2269
2254
|
"../node_modules/@types/mime/mime.d.ts": {
|
|
2270
|
-
"version": "
|
|
2271
|
-
"signature": "
|
|
2255
|
+
"version": "5b9ecf7da4d71cf3832dbb8336150fa924631811f488ad4690c2dfec2b4fb1d7",
|
|
2256
|
+
"signature": "5b9ecf7da4d71cf3832dbb8336150fa924631811f488ad4690c2dfec2b4fb1d7",
|
|
2272
2257
|
"affectsGlobalScope": false
|
|
2273
2258
|
},
|
|
2274
2259
|
"../node_modules/@types/mime/index.d.ts": {
|
|
2275
|
-
"version": "
|
|
2276
|
-
"signature": "
|
|
2260
|
+
"version": "951c85f75aac041dddbedfedf565886a7b494e29ec1532e2a9b4a6180560b50e",
|
|
2261
|
+
"signature": "951c85f75aac041dddbedfedf565886a7b494e29ec1532e2a9b4a6180560b50e",
|
|
2277
2262
|
"affectsGlobalScope": false
|
|
2278
2263
|
},
|
|
2279
2264
|
"../node_modules/@types/serve-static/index.d.ts": {
|
|
2280
|
-
"version": "
|
|
2281
|
-
"signature": "
|
|
2265
|
+
"version": "e6f0cb9d8cb2e38bec66e032e73caa3e7c6671f21ed7196acb821aec462051f2",
|
|
2266
|
+
"signature": "e6f0cb9d8cb2e38bec66e032e73caa3e7c6671f21ed7196acb821aec462051f2",
|
|
2282
2267
|
"affectsGlobalScope": false
|
|
2283
2268
|
},
|
|
2284
2269
|
"../node_modules/@types/connect/index.d.ts": {
|
|
2285
|
-
"version": "
|
|
2286
|
-
"signature": "
|
|
2270
|
+
"version": "6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073",
|
|
2271
|
+
"signature": "6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073",
|
|
2287
2272
|
"affectsGlobalScope": false
|
|
2288
2273
|
},
|
|
2289
2274
|
"../node_modules/@types/body-parser/index.d.ts": {
|
|
2290
|
-
"version": "
|
|
2291
|
-
"signature": "
|
|
2275
|
+
"version": "afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90",
|
|
2276
|
+
"signature": "afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90",
|
|
2292
2277
|
"affectsGlobalScope": false
|
|
2293
2278
|
},
|
|
2294
2279
|
"../node_modules/@types/express/index.d.ts": {
|
|
@@ -2527,7 +2512,7 @@
|
|
|
2527
2512
|
"affectsGlobalScope": false
|
|
2528
2513
|
},
|
|
2529
2514
|
"../src/entity/orderitem.ts": {
|
|
2530
|
-
"version": "
|
|
2515
|
+
"version": "9d2e0feb45eaa35cd5bd8b8b5fa61418e54db81030b403f519bc29589c975e6f",
|
|
2531
2516
|
"signature": "8a99f70f1b07ea2c55e8a586b4cafa3ddf7d2c93c73456de5ef1b57fe3ff47bd",
|
|
2532
2517
|
"affectsGlobalScope": false
|
|
2533
2518
|
},
|
|
@@ -3641,29 +3626,34 @@
|
|
|
3641
3626
|
"signature": "dcf62dc0c3b85db4bac00628cf686e07ed501d34ddf2ea5c791d61041b12ede6",
|
|
3642
3627
|
"affectsGlobalScope": false
|
|
3643
3628
|
},
|
|
3629
|
+
"../src/migrations/1702302929376-order-item-varianttitle-nullable.ts": {
|
|
3630
|
+
"version": "d640efce3ebdf53c1c660d6cf6d903e7a2b9ae4a9b23e1660007baa5203450db",
|
|
3631
|
+
"signature": "ccacd4d457319d5051c5b0c4412a26a933adf30292b613934720396d617d4fd5",
|
|
3632
|
+
"affectsGlobalScope": false
|
|
3633
|
+
},
|
|
3644
3634
|
"../src/migrations/execute/index.ts": {
|
|
3645
3635
|
"version": "8b5bf13d095aeb57afd593adf3d799681176a13c327e2f77e0028e178c4ee3b9",
|
|
3646
3636
|
"signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
|
|
3647
3637
|
"affectsGlobalScope": false
|
|
3648
3638
|
},
|
|
3649
3639
|
"../node_modules/@babel/types/lib/index.d.ts": {
|
|
3650
|
-
"version": "
|
|
3651
|
-
"signature": "
|
|
3640
|
+
"version": "3078727fed04c123165efdb42deeac5dceaa42ac62216ca13cb809dc7e13415f",
|
|
3641
|
+
"signature": "3078727fed04c123165efdb42deeac5dceaa42ac62216ca13cb809dc7e13415f",
|
|
3652
3642
|
"affectsGlobalScope": false
|
|
3653
3643
|
},
|
|
3654
3644
|
"../node_modules/@types/babel__generator/index.d.ts": {
|
|
3655
|
-
"version": "
|
|
3656
|
-
"signature": "
|
|
3645
|
+
"version": "cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb",
|
|
3646
|
+
"signature": "cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb",
|
|
3657
3647
|
"affectsGlobalScope": false
|
|
3658
3648
|
},
|
|
3659
3649
|
"../node_modules/@babel/parser/typings/babel-parser.d.ts": {
|
|
3660
|
-
"version": "
|
|
3661
|
-
"signature": "
|
|
3650
|
+
"version": "b4f76b34637d79cefad486127115fed843762c69512d7101b7096e1293699679",
|
|
3651
|
+
"signature": "b4f76b34637d79cefad486127115fed843762c69512d7101b7096e1293699679",
|
|
3662
3652
|
"affectsGlobalScope": false
|
|
3663
3653
|
},
|
|
3664
3654
|
"../node_modules/@types/babel__template/index.d.ts": {
|
|
3665
|
-
"version": "
|
|
3666
|
-
"signature": "
|
|
3655
|
+
"version": "93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9",
|
|
3656
|
+
"signature": "93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9",
|
|
3667
3657
|
"affectsGlobalScope": false
|
|
3668
3658
|
},
|
|
3669
3659
|
"../node_modules/@types/babel__traverse/index.d.ts": {
|
|
@@ -3672,28 +3662,28 @@
|
|
|
3672
3662
|
"affectsGlobalScope": false
|
|
3673
3663
|
},
|
|
3674
3664
|
"../node_modules/@types/babel__core/index.d.ts": {
|
|
3675
|
-
"version": "
|
|
3676
|
-
"signature": "
|
|
3665
|
+
"version": "b6ddf3a46ccfa4441d8be84d2e9bf3087573c48804196faedbd4a25b60631beb",
|
|
3666
|
+
"signature": "b6ddf3a46ccfa4441d8be84d2e9bf3087573c48804196faedbd4a25b60631beb",
|
|
3677
3667
|
"affectsGlobalScope": false
|
|
3678
3668
|
},
|
|
3679
3669
|
"../node_modules/@types/graceful-fs/index.d.ts": {
|
|
3680
|
-
"version": "
|
|
3681
|
-
"signature": "
|
|
3670
|
+
"version": "bf88ef4208a770ca39a844b182b3695df536326ea566893fdc5b8418702a331e",
|
|
3671
|
+
"signature": "bf88ef4208a770ca39a844b182b3695df536326ea566893fdc5b8418702a331e",
|
|
3682
3672
|
"affectsGlobalScope": false
|
|
3683
3673
|
},
|
|
3684
3674
|
"../node_modules/@types/istanbul-lib-coverage/index.d.ts": {
|
|
3685
|
-
"version": "
|
|
3686
|
-
"signature": "
|
|
3675
|
+
"version": "8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215",
|
|
3676
|
+
"signature": "8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215",
|
|
3687
3677
|
"affectsGlobalScope": false
|
|
3688
3678
|
},
|
|
3689
3679
|
"../node_modules/@types/istanbul-lib-report/index.d.ts": {
|
|
3690
|
-
"version": "
|
|
3691
|
-
"signature": "
|
|
3680
|
+
"version": "7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee",
|
|
3681
|
+
"signature": "7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee",
|
|
3692
3682
|
"affectsGlobalScope": false
|
|
3693
3683
|
},
|
|
3694
3684
|
"../node_modules/@types/istanbul-reports/index.d.ts": {
|
|
3695
|
-
"version": "
|
|
3696
|
-
"signature": "
|
|
3685
|
+
"version": "f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0",
|
|
3686
|
+
"signature": "f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0",
|
|
3697
3687
|
"affectsGlobalScope": false
|
|
3698
3688
|
},
|
|
3699
3689
|
"../node_modules/jest-diff/build/cleanupsemantic.d.ts": {
|
|
@@ -3737,28 +3727,28 @@
|
|
|
3737
3727
|
"affectsGlobalScope": true
|
|
3738
3728
|
},
|
|
3739
3729
|
"../node_modules/@types/json-schema/index.d.ts": {
|
|
3740
|
-
"version": "
|
|
3741
|
-
"signature": "
|
|
3730
|
+
"version": "f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6",
|
|
3731
|
+
"signature": "f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6",
|
|
3742
3732
|
"affectsGlobalScope": false
|
|
3743
3733
|
},
|
|
3744
3734
|
"../node_modules/@types/prettier/index.d.ts": {
|
|
3745
|
-
"version": "
|
|
3746
|
-
"signature": "
|
|
3735
|
+
"version": "bc88e4049153bc4dddb4503ed7e624eb141edfa9064b3659d6c86e900fe9e621",
|
|
3736
|
+
"signature": "bc88e4049153bc4dddb4503ed7e624eb141edfa9064b3659d6c86e900fe9e621",
|
|
3747
3737
|
"affectsGlobalScope": false
|
|
3748
3738
|
},
|
|
3749
3739
|
"../node_modules/@types/stack-utils/index.d.ts": {
|
|
3750
|
-
"version": "
|
|
3751
|
-
"signature": "
|
|
3740
|
+
"version": "b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298",
|
|
3741
|
+
"signature": "b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298",
|
|
3752
3742
|
"affectsGlobalScope": false
|
|
3753
3743
|
},
|
|
3754
3744
|
"../node_modules/@types/yargs-parser/index.d.ts": {
|
|
3755
|
-
"version": "
|
|
3756
|
-
"signature": "
|
|
3745
|
+
"version": "70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e",
|
|
3746
|
+
"signature": "70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e",
|
|
3757
3747
|
"affectsGlobalScope": false
|
|
3758
3748
|
},
|
|
3759
3749
|
"../node_modules/@types/yargs/index.d.ts": {
|
|
3760
|
-
"version": "
|
|
3761
|
-
"signature": "
|
|
3750
|
+
"version": "149ebd778196c03e9c75b630866543501e0e9e62a146c1a17ce91ade4cdfb0ba",
|
|
3751
|
+
"signature": "149ebd778196c03e9c75b630866543501e0e9e62a146c1a17ce91ade4cdfb0ba",
|
|
3762
3752
|
"affectsGlobalScope": false
|
|
3763
3753
|
},
|
|
3764
3754
|
"../node_modules/@types/zen-observable/index.d.ts": {
|
|
@@ -3869,8 +3859,7 @@
|
|
|
3869
3859
|
"../node_modules/@types/node/http.d.ts",
|
|
3870
3860
|
"../node_modules/@types/node/index.d.ts",
|
|
3871
3861
|
"../node_modules/@types/qs/index.d.ts",
|
|
3872
|
-
"../node_modules/@types/range-parser/index.d.ts"
|
|
3873
|
-
"../node_modules/@types/send/index.d.ts"
|
|
3862
|
+
"../node_modules/@types/range-parser/index.d.ts"
|
|
3874
3863
|
],
|
|
3875
3864
|
"../node_modules/@types/express/index.d.ts": [
|
|
3876
3865
|
"../node_modules/@types/body-parser/index.d.ts",
|
|
@@ -4068,14 +4057,7 @@
|
|
|
4068
4057
|
"../node_modules/@types/node/zlib.d.ts": [
|
|
4069
4058
|
"../node_modules/@types/node/stream.d.ts"
|
|
4070
4059
|
],
|
|
4071
|
-
"../node_modules/@types/send/index.d.ts": [
|
|
4072
|
-
"../node_modules/@types/node/fs.d.ts",
|
|
4073
|
-
"../node_modules/@types/node/index.d.ts",
|
|
4074
|
-
"../node_modules/@types/node/stream.d.ts",
|
|
4075
|
-
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts"
|
|
4076
|
-
],
|
|
4077
4060
|
"../node_modules/@types/serve-static/index.d.ts": [
|
|
4078
|
-
"../node_modules/@types/http-errors/index.d.ts",
|
|
4079
4061
|
"../node_modules/@types/mime/index.d.ts",
|
|
4080
4062
|
"../node_modules/@types/node/http.d.ts",
|
|
4081
4063
|
"../node_modules/@types/node/index.d.ts"
|
|
@@ -6726,6 +6708,9 @@
|
|
|
6726
6708
|
"../src/migrations/1701969845764-promote_to_qa_07_12_23.ts": [
|
|
6727
6709
|
"../node_modules/typeorm/index.d.ts"
|
|
6728
6710
|
],
|
|
6711
|
+
"../src/migrations/1702302929376-order-item-varianttitle-nullable.ts": [
|
|
6712
|
+
"../node_modules/typeorm/index.d.ts"
|
|
6713
|
+
],
|
|
6729
6714
|
"../src/migrations/execute/index.ts": [
|
|
6730
6715
|
"../src/config/connect.ts"
|
|
6731
6716
|
],
|
|
@@ -6975,8 +6960,7 @@
|
|
|
6975
6960
|
"../node_modules/@types/node/http.d.ts",
|
|
6976
6961
|
"../node_modules/@types/node/index.d.ts",
|
|
6977
6962
|
"../node_modules/@types/qs/index.d.ts",
|
|
6978
|
-
"../node_modules/@types/range-parser/index.d.ts"
|
|
6979
|
-
"../node_modules/@types/send/index.d.ts"
|
|
6963
|
+
"../node_modules/@types/range-parser/index.d.ts"
|
|
6980
6964
|
],
|
|
6981
6965
|
"../node_modules/@types/express/index.d.ts": [
|
|
6982
6966
|
"../node_modules/@types/body-parser/index.d.ts",
|
|
@@ -7174,14 +7158,7 @@
|
|
|
7174
7158
|
"../node_modules/@types/node/zlib.d.ts": [
|
|
7175
7159
|
"../node_modules/@types/node/stream.d.ts"
|
|
7176
7160
|
],
|
|
7177
|
-
"../node_modules/@types/send/index.d.ts": [
|
|
7178
|
-
"../node_modules/@types/node/fs.d.ts",
|
|
7179
|
-
"../node_modules/@types/node/index.d.ts",
|
|
7180
|
-
"../node_modules/@types/node/stream.d.ts",
|
|
7181
|
-
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts"
|
|
7182
|
-
],
|
|
7183
7161
|
"../node_modules/@types/serve-static/index.d.ts": [
|
|
7184
|
-
"../node_modules/@types/http-errors/index.d.ts",
|
|
7185
7162
|
"../node_modules/@types/mime/index.d.ts",
|
|
7186
7163
|
"../node_modules/@types/node/http.d.ts",
|
|
7187
7164
|
"../node_modules/@types/node/index.d.ts"
|
|
@@ -9666,6 +9643,9 @@
|
|
|
9666
9643
|
"../src/migrations/1701969845764-promote_to_qa_07_12_23.ts": [
|
|
9667
9644
|
"../node_modules/typeorm/index.d.ts"
|
|
9668
9645
|
],
|
|
9646
|
+
"../src/migrations/1702302929376-order-item-varianttitle-nullable.ts": [
|
|
9647
|
+
"../node_modules/typeorm/index.d.ts"
|
|
9648
|
+
],
|
|
9669
9649
|
"../src/migrations/index.ts": [
|
|
9670
9650
|
"../src/migrations/1628474597284-initialschema.ts",
|
|
9671
9651
|
"../src/migrations/1630077596132-removemangopay.ts",
|
|
@@ -9855,7 +9835,6 @@
|
|
|
9855
9835
|
"../node_modules/@types/express-serve-static-core/index.d.ts",
|
|
9856
9836
|
"../node_modules/@types/express/index.d.ts",
|
|
9857
9837
|
"../node_modules/@types/graceful-fs/index.d.ts",
|
|
9858
|
-
"../node_modules/@types/http-errors/index.d.ts",
|
|
9859
9838
|
"../node_modules/@types/istanbul-lib-coverage/index.d.ts",
|
|
9860
9839
|
"../node_modules/@types/istanbul-lib-report/index.d.ts",
|
|
9861
9840
|
"../node_modules/@types/istanbul-reports/index.d.ts",
|
|
@@ -9913,8 +9892,6 @@
|
|
|
9913
9892
|
"../node_modules/@types/prettier/index.d.ts",
|
|
9914
9893
|
"../node_modules/@types/qs/index.d.ts",
|
|
9915
9894
|
"../node_modules/@types/range-parser/index.d.ts",
|
|
9916
|
-
"../node_modules/@types/send/index.d.ts",
|
|
9917
|
-
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts",
|
|
9918
9895
|
"../node_modules/@types/serve-static/index.d.ts",
|
|
9919
9896
|
"../node_modules/@types/stack-utils/index.d.ts",
|
|
9920
9897
|
"../node_modules/@types/yargs-parser/index.d.ts",
|
|
@@ -10552,6 +10529,7 @@
|
|
|
10552
10529
|
"../src/migrations/1701807577519-test-step-1.ts",
|
|
10553
10530
|
"../src/migrations/1701868990386-test-v2.ts",
|
|
10554
10531
|
"../src/migrations/1701969845764-promote_to_qa_07_12_23.ts",
|
|
10532
|
+
"../src/migrations/1702302929376-order-item-varianttitle-nullable.ts",
|
|
10555
10533
|
"../src/migrations/execute/index.ts",
|
|
10556
10534
|
"../src/migrations/index.ts",
|
|
10557
10535
|
"../src/repositories/discount/index.ts",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reachu/database",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.147",
|
|
4
4
|
"description": "reachu-database",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"author": "reachu",
|
|
22
22
|
"license": "ISC",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@reachu/logger": "1.0.
|
|
25
|
-
"@reachu/utils": "1.0.
|
|
24
|
+
"@reachu/logger": "1.0.147",
|
|
25
|
+
"@reachu/utils": "1.0.147",
|
|
26
26
|
"dotenv": "8.0.0",
|
|
27
27
|
"express": "4.17.1",
|
|
28
28
|
"mysql2": "1.5.2",
|
package/src/entity/OrderItem.ts
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {MigrationInterface, QueryRunner} from "typeorm";
|
|
2
|
+
|
|
3
|
+
export class orderItemVarianttitleNullable1702302929376 implements MigrationInterface {
|
|
4
|
+
name = 'orderItemVarianttitleNullable1702302929376'
|
|
5
|
+
|
|
6
|
+
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE \`order_item\` CHANGE \`variant_title\` \`variant_title\` varchar(255) NULL`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE \`order_item\` CHANGE \`variant_title\` \`variant_title\` varchar(255) NOT NULL`);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|