@sphereon/ssi-sdk.data-store 0.15.2-next.117 → 0.15.2-next.121
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/migrations/generic/1-CreateContacts.d.ts.map +1 -1
- package/dist/migrations/generic/1-CreateContacts.js +4 -2
- package/dist/migrations/generic/1-CreateContacts.js.map +1 -1
- package/dist/migrations/generic/2-CreateContacts.d.ts.map +1 -1
- package/dist/migrations/generic/2-CreateContacts.js +4 -2
- package/dist/migrations/generic/2-CreateContacts.js.map +1 -1
- package/dist/migrations/generic/2-CreateIssuanceBranding.d.ts.map +1 -1
- package/dist/migrations/generic/2-CreateIssuanceBranding.js +4 -2
- package/dist/migrations/generic/2-CreateIssuanceBranding.js.map +1 -1
- package/dist/migrations/generic/3-CreateStatusList.js +4 -4
- package/dist/migrations/generic/3-CreateStatusList.js.map +1 -1
- package/package.json +3 -3
- package/src/migrations/generic/1-CreateContacts.ts +4 -2
- package/src/migrations/generic/2-CreateContacts.ts +4 -2
- package/src/migrations/generic/2-CreateIssuanceBranding.ts +4 -2
- package/src/migrations/generic/3-CreateStatusList.ts +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1-CreateContacts.d.ts","sourceRoot":"","sources":["../../../src/migrations/generic/1-CreateContacts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAOvE,qBAAa,2BAA4B,YAAW,kBAAkB;IACpE,IAAI,SAAgC;IAEvB,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"1-CreateContacts.d.ts","sourceRoot":"","sources":["../../../src/migrations/generic/1-CreateContacts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAOvE,qBAAa,2BAA4B,YAAW,kBAAkB;IACpE,IAAI,SAAgC;IAEvB,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IA4B3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CA2B3D"}
|
|
@@ -34,6 +34,7 @@ class CreateContacts1659463079429 {
|
|
|
34
34
|
return;
|
|
35
35
|
}
|
|
36
36
|
case 'sqlite':
|
|
37
|
+
case 'expo':
|
|
37
38
|
case 'react-native': {
|
|
38
39
|
debug('using sqlite/react-native migration file');
|
|
39
40
|
const mig = new _1659463069549_CreateContacts_1.CreateContacts1659463069549();
|
|
@@ -42,7 +43,7 @@ class CreateContacts1659463079429 {
|
|
|
42
43
|
return;
|
|
43
44
|
}
|
|
44
45
|
default:
|
|
45
|
-
return Promise.reject(
|
|
46
|
+
return Promise.reject(`Migrations are currently only supported for sqlite, react-native, expor and postgres. Was ${dbType}. Please run your database without migrations and with 'migrationsRun: false' and 'synchronize: true' for now`);
|
|
46
47
|
}
|
|
47
48
|
});
|
|
48
49
|
}
|
|
@@ -59,6 +60,7 @@ class CreateContacts1659463079429 {
|
|
|
59
60
|
return;
|
|
60
61
|
}
|
|
61
62
|
case 'sqlite':
|
|
63
|
+
case 'expo':
|
|
62
64
|
case 'react-native': {
|
|
63
65
|
debug('using sqlite/react-native migration file');
|
|
64
66
|
const mig = new _1659463069549_CreateContacts_1.CreateContacts1659463069549();
|
|
@@ -67,7 +69,7 @@ class CreateContacts1659463079429 {
|
|
|
67
69
|
return;
|
|
68
70
|
}
|
|
69
71
|
default:
|
|
70
|
-
return Promise.reject(
|
|
72
|
+
return Promise.reject(`Migrations are currently only supported for sqlite, react-native, expor and postgres. Was ${dbType}. Please run your database without migrations and with 'migrationsRun: false' and 'synchronize: true' for now`);
|
|
71
73
|
}
|
|
72
74
|
});
|
|
73
75
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1-CreateContacts.js","sourceRoot":"","sources":["../../../src/migrations/generic/1-CreateContacts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,kDAAyB;AACzB,4FAAsF;AACtF,0FAAoF;AAEpF,MAAM,KAAK,GAAmB,IAAA,eAAK,EAAC,6BAA6B,CAAC,CAAA;AAElE,MAAa,2BAA2B;IAAxC;QACE,SAAI,GAAG,6BAA6B,CAAA;
|
|
1
|
+
{"version":3,"file":"1-CreateContacts.js","sourceRoot":"","sources":["../../../src/migrations/generic/1-CreateContacts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,kDAAyB;AACzB,4FAAsF;AACtF,0FAAoF;AAEpF,MAAM,KAAK,GAAmB,IAAA,eAAK,EAAC,6BAA6B,CAAC,CAAA;AAElE,MAAa,2BAA2B;IAAxC;QACE,SAAI,GAAG,6BAA6B,CAAA;IAyDtC,CAAC;IAvDc,EAAE,CAAC,WAAwB;;YACtC,KAAK,CAAC,qCAAqC,CAAC,CAAA;YAC5C,MAAM,MAAM,GAAiB,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAA;YAEvE,QAAQ,MAAM,EAAE;gBACd,KAAK,UAAU,CAAC,CAAC;oBACf,KAAK,CAAC,+BAA+B,CAAC,CAAA;oBACtC,MAAM,GAAG,GAAgC,IAAI,2DAA2B,EAAE,CAAA;oBAC1E,MAAM,GAAG,CAAC,EAAE,CAAC,WAAW,CAAC,CAAA;oBACzB,KAAK,CAAC,+BAA+B,CAAC,CAAA;oBACtC,OAAM;iBACP;gBACD,KAAK,QAAQ,CAAC;gBACd,KAAK,MAAM,CAAC;gBACZ,KAAK,cAAc,CAAC,CAAC;oBACnB,KAAK,CAAC,0CAA0C,CAAC,CAAA;oBACjD,MAAM,GAAG,GAAgC,IAAI,2DAA2B,EAAE,CAAA;oBAC1E,MAAM,GAAG,CAAC,EAAE,CAAC,WAAW,CAAC,CAAA;oBACzB,KAAK,CAAC,+BAA+B,CAAC,CAAA;oBACtC,OAAM;iBACP;gBACD;oBAC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|
1
|
+
{"version":3,"file":"2-CreateContacts.d.ts","sourceRoot":"","sources":["../../../src/migrations/generic/2-CreateContacts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAOvE,qBAAa,2BAA4B,YAAW,kBAAkB;IACpE,IAAI,SAAgC;IAEvB,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IA4B3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CA2B3D"}
|
|
@@ -34,6 +34,7 @@ class CreateContacts1690925872318 {
|
|
|
34
34
|
return;
|
|
35
35
|
}
|
|
36
36
|
case 'sqlite':
|
|
37
|
+
case 'expo':
|
|
37
38
|
case 'react-native': {
|
|
38
39
|
debug('using sqlite/react-native migration file');
|
|
39
40
|
const mig = new _1690925872693_CreateContacts_1.CreateContacts1690925872693();
|
|
@@ -42,7 +43,7 @@ class CreateContacts1690925872318 {
|
|
|
42
43
|
return;
|
|
43
44
|
}
|
|
44
45
|
default:
|
|
45
|
-
return Promise.reject(
|
|
46
|
+
return Promise.reject(`Migrations are currently only supported for sqlite, react-native, expor and postgres. Was ${dbType}. Please run your database without migrations and with 'migrationsRun: false' and 'synchronize: true' for now`);
|
|
46
47
|
}
|
|
47
48
|
});
|
|
48
49
|
}
|
|
@@ -59,6 +60,7 @@ class CreateContacts1690925872318 {
|
|
|
59
60
|
return;
|
|
60
61
|
}
|
|
61
62
|
case 'sqlite':
|
|
63
|
+
case 'expo':
|
|
62
64
|
case 'react-native': {
|
|
63
65
|
debug('using sqlite/react-native migration file');
|
|
64
66
|
const mig = new _1690925872693_CreateContacts_1.CreateContacts1690925872693();
|
|
@@ -67,7 +69,7 @@ class CreateContacts1690925872318 {
|
|
|
67
69
|
return;
|
|
68
70
|
}
|
|
69
71
|
default:
|
|
70
|
-
return Promise.reject(
|
|
72
|
+
return Promise.reject(`Migrations are currently only supported for sqlite, react-native, expor and postgres. Was ${dbType}. Please run your database without migrations and with 'migrationsRun: false' and 'synchronize: true' for now`);
|
|
71
73
|
}
|
|
72
74
|
});
|
|
73
75
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2-CreateContacts.js","sourceRoot":"","sources":["../../../src/migrations/generic/2-CreateContacts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,kDAAyB;AACzB,0FAAoF;AACpF,4FAAsF;AAEtF,MAAM,KAAK,GAAmB,IAAA,eAAK,EAAC,6BAA6B,CAAC,CAAA;AAElE,MAAa,2BAA2B;IAAxC;QACE,SAAI,GAAG,6BAA6B,CAAA;
|
|
1
|
+
{"version":3,"file":"2-CreateContacts.js","sourceRoot":"","sources":["../../../src/migrations/generic/2-CreateContacts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,kDAAyB;AACzB,0FAAoF;AACpF,4FAAsF;AAEtF,MAAM,KAAK,GAAmB,IAAA,eAAK,EAAC,6BAA6B,CAAC,CAAA;AAElE,MAAa,2BAA2B;IAAxC;QACE,SAAI,GAAG,6BAA6B,CAAA;IAyDtC,CAAC;IAvDc,EAAE,CAAC,WAAwB;;YACtC,KAAK,CAAC,qCAAqC,CAAC,CAAA;YAC5C,MAAM,MAAM,GAAiB,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAA;YAEvE,QAAQ,MAAM,EAAE;gBACd,KAAK,UAAU,CAAC,CAAC;oBACf,KAAK,CAAC,+BAA+B,CAAC,CAAA;oBACtC,MAAM,GAAG,GAAgC,IAAI,2DAA2B,EAAE,CAAA;oBAC1E,MAAM,GAAG,CAAC,EAAE,CAAC,WAAW,CAAC,CAAA;oBACzB,KAAK,CAAC,+BAA+B,CAAC,CAAA;oBACtC,OAAM;iBACP;gBACD,KAAK,QAAQ,CAAC;gBACd,KAAK,MAAM,CAAC;gBACZ,KAAK,cAAc,CAAC,CAAC;oBACnB,KAAK,CAAC,0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ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAOvE,qBAAa,mCAAoC,YAAW,kBAAkB;IAC5E,IAAI,SAAwC;IAE/B,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"2-CreateIssuanceBranding.d.ts","sourceRoot":"","sources":["../../../src/migrations/generic/2-CreateIssuanceBranding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAOvE,qBAAa,mCAAoC,YAAW,kBAAkB;IAC5E,IAAI,SAAwC;IAE/B,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IA2B3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CA0B3D"}
|
|
@@ -34,6 +34,7 @@ class CreateIssuanceBranding1659463079429 {
|
|
|
34
34
|
return;
|
|
35
35
|
}
|
|
36
36
|
case 'sqlite':
|
|
37
|
+
case 'expo':
|
|
37
38
|
case 'react-native': {
|
|
38
39
|
debug('using sqlite/react-native migration file');
|
|
39
40
|
const mig = new _1685628973231_CreateIssuanceBranding_1.CreateIssuanceBranding1685628973231();
|
|
@@ -42,7 +43,7 @@ class CreateIssuanceBranding1659463079429 {
|
|
|
42
43
|
return;
|
|
43
44
|
}
|
|
44
45
|
default:
|
|
45
|
-
return Promise.reject(
|
|
46
|
+
return Promise.reject(`Migrations are currently only supported for sqlite, react-native, expor and postgres. Was ${dbType}. Please run your database without migrations and with 'migrationsRun: false' and 'synchronize: true' for now`);
|
|
46
47
|
}
|
|
47
48
|
});
|
|
48
49
|
}
|
|
@@ -59,6 +60,7 @@ class CreateIssuanceBranding1659463079429 {
|
|
|
59
60
|
return;
|
|
60
61
|
}
|
|
61
62
|
case 'sqlite':
|
|
63
|
+
case 'expo':
|
|
62
64
|
case 'react-native': {
|
|
63
65
|
debug('using sqlite/react-native migration file');
|
|
64
66
|
const mig = new _1685628973231_CreateIssuanceBranding_1.CreateIssuanceBranding1685628973231();
|
|
@@ -67,7 +69,7 @@ class CreateIssuanceBranding1659463079429 {
|
|
|
67
69
|
return;
|
|
68
70
|
}
|
|
69
71
|
default:
|
|
70
|
-
return Promise.reject(
|
|
72
|
+
return Promise.reject(`Migrations are currently only supported for sqlite, react-native, expor and postgres. Was ${dbType}. Please run your database without migrations and with 'migrationsRun: false' and 'synchronize: true' for now`);
|
|
71
73
|
}
|
|
72
74
|
});
|
|
73
75
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2-CreateIssuanceBranding.js","sourceRoot":"","sources":["../../../src/migrations/generic/2-CreateIssuanceBranding.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,kDAAyB;AACzB,4GAAsG;AACtG,0GAAoG;AAEpG,MAAM,KAAK,GAAmB,IAAA,eAAK,EAAC,6BAA6B,CAAC,CAAA;AAElE,MAAa,mCAAmC;IAAhD;QACE,SAAI,GAAG,qCAAqC,CAAA;
|
|
1
|
+
{"version":3,"file":"2-CreateIssuanceBranding.js","sourceRoot":"","sources":["../../../src/migrations/generic/2-CreateIssuanceBranding.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,kDAAyB;AACzB,4GAAsG;AACtG,0GAAoG;AAEpG,MAAM,KAAK,GAAmB,IAAA,eAAK,EAAC,6BAA6B,CAAC,CAAA;AAElE,MAAa,mCAAmC;IAAhD;QACE,SAAI,GAAG,qCAAqC,CAAA;IAuD9C,CAAC;IArDc,EAAE,CAAC,WAAwB;;YACtC,KAAK,CAAC,8CAA8C,CAAC,CAAA;YACrD,MAAM,MAAM,GAAiB,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAA;YACvE,QAAQ,MAAM,EAAE;gBACd,KAAK,UAAU,CAAC,CAAC;oBACf,KAAK,CAA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KAAK,CAAC,+BAA+B,CAAC,CAAA;oBACtC,OAAM;iBACP;gBACD;oBACE,OAAO,OAAO,CAAC,MAAM,CACnB,6FAA6F,MAAM,+GAA+G,CACnN,CAAA;aACJ;QACH,CAAC;KAAA;CACF;AAxDD,kFAwDC"}
|
|
@@ -32,7 +32,7 @@ class CreateStatusList1693866470000 {
|
|
|
32
32
|
debug('Migration statements executed');
|
|
33
33
|
return up;
|
|
34
34
|
}
|
|
35
|
-
else if (dbType === 'sqlite' || 'react-native') {
|
|
35
|
+
else if (dbType === 'sqlite' || dbType === 'react-native' || dbType === 'expo') {
|
|
36
36
|
debug('using sqlite/react-native migration file');
|
|
37
37
|
const mig = new _1693866470000_CreateStatusList_1.CreateStatusList1693866470002();
|
|
38
38
|
const up = yield mig.up(queryRunner);
|
|
@@ -40,7 +40,7 @@ class CreateStatusList1693866470000 {
|
|
|
40
40
|
return up;
|
|
41
41
|
}
|
|
42
42
|
else {
|
|
43
|
-
return Promise.reject(
|
|
43
|
+
return Promise.reject(`Migrations are currently only supported for sqlite, react-native, expor and postgres. Was ${dbType}. Please run your database without migrations and with 'migrationsRun: false' and 'synchronize: true' for now`);
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
46
|
}
|
|
@@ -55,7 +55,7 @@ class CreateStatusList1693866470000 {
|
|
|
55
55
|
debug('Migration statements executed');
|
|
56
56
|
return down;
|
|
57
57
|
}
|
|
58
|
-
else if (dbType === 'sqlite' || 'react-native') {
|
|
58
|
+
else if (dbType === 'sqlite' || dbType === 'react-native' || dbType === 'expo') {
|
|
59
59
|
debug('using sqlite/react-native migration file');
|
|
60
60
|
const mig = new _1693866470000_CreateStatusList_1.CreateStatusList1693866470002();
|
|
61
61
|
const down = yield mig.down(queryRunner);
|
|
@@ -63,7 +63,7 @@ class CreateStatusList1693866470000 {
|
|
|
63
63
|
return down;
|
|
64
64
|
}
|
|
65
65
|
else {
|
|
66
|
-
return Promise.reject(
|
|
66
|
+
return Promise.reject(`Migrations are currently only supported for sqlite, react-native, expor and postgres. Was ${dbType}. Please run your database without migrations and with 'migrationsRun: false' and 'synchronize: true' for now`);
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
69
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"3-CreateStatusList.js","sourceRoot":"","sources":["../../../src/migrations/generic/3-CreateStatusList.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAAyB;AAEzB,+HAA0G;AAC1G,8FAAwF;AAExF,MAAM,KAAK,GAAG,IAAA,eAAK,EAAC,6BAA6B,CAAC,CAAA;AAElD,MAAa,6BAA6B;IAA1C;QACE,SAAI,GAAG,+BAA+B,CAAA;IA6CxC,CAAC;IA3Cc,EAAE,CAAC,WAAwB;;YACtC,KAAK,CAAC,8CAA8C,CAAC,CAAA;YACrD,MAAM,MAAM,GAAG,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAA;YACzD,IAAI,MAAM,KAAK,UAAU,EAAE;gBACzB,KAAK,CAAC,+BAA+B,CAAC,CAAA;gBACtC,MAAM,GAAG,GAAG,IAAI,8EAA6B,EAAE,CAAA;gBAC/C,MAAM,EAAE,GAAG,MAAM,GAAG,CAAC,EAAE,CAAC,WAAW,CAAC,CAAA;gBACpC,KAAK,CAAC,+BAA+B,CAAC,CAAA;gBACtC,OAAO,EAAE,CAAA;aACV;iBAAM,IAAI,MAAM,KAAK,QAAQ,IAAI,cAAc,EAAE;
|
|
1
|
+
{"version":3,"file":"3-CreateStatusList.js","sourceRoot":"","sources":["../../../src/migrations/generic/3-CreateStatusList.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAAyB;AAEzB,+HAA0G;AAC1G,8FAAwF;AAExF,MAAM,KAAK,GAAG,IAAA,eAAK,EAAC,6BAA6B,CAAC,CAAA;AAElD,MAAa,6BAA6B;IAA1C;QACE,SAAI,GAAG,+BAA+B,CAAA;IA6CxC,CAAC;IA3Cc,EAAE,CAAC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AAI,CAAA;aACZ;iBAAM,IAAI,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,cAAc,IAAI,MAAM,KAAK,MAAM,EAAE;gBAChF,KAAK,CAAC,0CAA0C,CAAC,CAAA;gBACjD,MAAM,GAAG,GAAG,IAAI,+DAA6B,EAAE,CAAA;gBAC/C,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;gBACxC,KAAK,CAAC,+BAA+B,CAAC,CAAA;gBACtC,OAAO,IAAI,CAAA;aACZ;iBAAM;gBACL,OAAO,OAAO,CAAC,MAAM,CACnB,6FAA6F,MAAM,+GAA+G,CACnN,CAAA;aACF;QACH,CAAC;KAAA;CACF;AA9CD,sEA8CC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.data-store",
|
|
3
|
-
"version": "0.15.2-next.
|
|
3
|
+
"version": "0.15.2-next.121+6889396b",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"typeorm-postgres:migration:run": "pnpm run typeorm -- migration:run -c migration-postgres"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@sphereon/ssi-types": "0.15.2-next.
|
|
16
|
+
"@sphereon/ssi-types": "0.15.2-next.121+6889396b",
|
|
17
17
|
"@veramo/core": "4.2.0",
|
|
18
18
|
"class-validator": "^0.14.0",
|
|
19
19
|
"debug": "^4.3.4",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"PostgreSQL",
|
|
43
43
|
"Contact Store"
|
|
44
44
|
],
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "6889396b5300f146fb324cc081bd6de3a200abe8"
|
|
46
46
|
}
|
|
@@ -21,6 +21,7 @@ export class CreateContacts1659463079429 implements MigrationInterface {
|
|
|
21
21
|
return
|
|
22
22
|
}
|
|
23
23
|
case 'sqlite':
|
|
24
|
+
case 'expo':
|
|
24
25
|
case 'react-native': {
|
|
25
26
|
debug('using sqlite/react-native migration file')
|
|
26
27
|
const mig: CreateContacts1659463069549 = new CreateContacts1659463069549()
|
|
@@ -30,7 +31,7 @@ export class CreateContacts1659463079429 implements MigrationInterface {
|
|
|
30
31
|
}
|
|
31
32
|
default:
|
|
32
33
|
return Promise.reject(
|
|
33
|
-
|
|
34
|
+
`Migrations are currently only supported for sqlite, react-native, expor and postgres. Was ${dbType}. Please run your database without migrations and with 'migrationsRun: false' and 'synchronize: true' for now`
|
|
34
35
|
)
|
|
35
36
|
}
|
|
36
37
|
}
|
|
@@ -48,6 +49,7 @@ export class CreateContacts1659463079429 implements MigrationInterface {
|
|
|
48
49
|
return
|
|
49
50
|
}
|
|
50
51
|
case 'sqlite':
|
|
52
|
+
case 'expo':
|
|
51
53
|
case 'react-native': {
|
|
52
54
|
debug('using sqlite/react-native migration file')
|
|
53
55
|
const mig: CreateContacts1659463069549 = new CreateContacts1659463069549()
|
|
@@ -57,7 +59,7 @@ export class CreateContacts1659463079429 implements MigrationInterface {
|
|
|
57
59
|
}
|
|
58
60
|
default:
|
|
59
61
|
return Promise.reject(
|
|
60
|
-
|
|
62
|
+
`Migrations are currently only supported for sqlite, react-native, expor and postgres. Was ${dbType}. Please run your database without migrations and with 'migrationsRun: false' and 'synchronize: true' for now`
|
|
61
63
|
)
|
|
62
64
|
}
|
|
63
65
|
}
|
|
@@ -21,6 +21,7 @@ export class CreateContacts1690925872318 implements MigrationInterface {
|
|
|
21
21
|
return
|
|
22
22
|
}
|
|
23
23
|
case 'sqlite':
|
|
24
|
+
case 'expo':
|
|
24
25
|
case 'react-native': {
|
|
25
26
|
debug('using sqlite/react-native migration file')
|
|
26
27
|
const mig: CreateContacts1690925872693 = new CreateContacts1690925872693()
|
|
@@ -30,7 +31,7 @@ export class CreateContacts1690925872318 implements MigrationInterface {
|
|
|
30
31
|
}
|
|
31
32
|
default:
|
|
32
33
|
return Promise.reject(
|
|
33
|
-
|
|
34
|
+
`Migrations are currently only supported for sqlite, react-native, expor and postgres. Was ${dbType}. Please run your database without migrations and with 'migrationsRun: false' and 'synchronize: true' for now`
|
|
34
35
|
)
|
|
35
36
|
}
|
|
36
37
|
}
|
|
@@ -48,6 +49,7 @@ export class CreateContacts1690925872318 implements MigrationInterface {
|
|
|
48
49
|
return
|
|
49
50
|
}
|
|
50
51
|
case 'sqlite':
|
|
52
|
+
case 'expo':
|
|
51
53
|
case 'react-native': {
|
|
52
54
|
debug('using sqlite/react-native migration file')
|
|
53
55
|
const mig: CreateContacts1690925872693 = new CreateContacts1690925872693()
|
|
@@ -57,7 +59,7 @@ export class CreateContacts1690925872318 implements MigrationInterface {
|
|
|
57
59
|
}
|
|
58
60
|
default:
|
|
59
61
|
return Promise.reject(
|
|
60
|
-
|
|
62
|
+
`Migrations are currently only supported for sqlite, react-native, expor and postgres. Was ${dbType}. Please run your database without migrations and with 'migrationsRun: false' and 'synchronize: true' for now`
|
|
61
63
|
)
|
|
62
64
|
}
|
|
63
65
|
}
|
|
@@ -20,6 +20,7 @@ export class CreateIssuanceBranding1659463079429 implements MigrationInterface {
|
|
|
20
20
|
return
|
|
21
21
|
}
|
|
22
22
|
case 'sqlite':
|
|
23
|
+
case 'expo':
|
|
23
24
|
case 'react-native': {
|
|
24
25
|
debug('using sqlite/react-native migration file')
|
|
25
26
|
const mig: CreateIssuanceBranding1685628973231 = new CreateIssuanceBranding1685628973231()
|
|
@@ -29,7 +30,7 @@ export class CreateIssuanceBranding1659463079429 implements MigrationInterface {
|
|
|
29
30
|
}
|
|
30
31
|
default:
|
|
31
32
|
return Promise.reject(
|
|
32
|
-
|
|
33
|
+
`Migrations are currently only supported for sqlite, react-native, expor and postgres. Was ${dbType}. Please run your database without migrations and with 'migrationsRun: false' and 'synchronize: true' for now`
|
|
33
34
|
)
|
|
34
35
|
}
|
|
35
36
|
}
|
|
@@ -46,6 +47,7 @@ export class CreateIssuanceBranding1659463079429 implements MigrationInterface {
|
|
|
46
47
|
return
|
|
47
48
|
}
|
|
48
49
|
case 'sqlite':
|
|
50
|
+
case 'expo':
|
|
49
51
|
case 'react-native': {
|
|
50
52
|
debug('using sqlite/react-native migration file')
|
|
51
53
|
const mig: CreateIssuanceBranding1685628973231 = new CreateIssuanceBranding1685628973231()
|
|
@@ -55,7 +57,7 @@ export class CreateIssuanceBranding1659463079429 implements MigrationInterface {
|
|
|
55
57
|
}
|
|
56
58
|
default:
|
|
57
59
|
return Promise.reject(
|
|
58
|
-
|
|
60
|
+
`Migrations are currently only supported for sqlite, react-native, expor and postgres. Was ${dbType}. Please run your database without migrations and with 'migrationsRun: false' and 'synchronize: true' for now`
|
|
59
61
|
)
|
|
60
62
|
}
|
|
61
63
|
}
|
|
@@ -17,7 +17,7 @@ export class CreateStatusList1693866470000 implements MigrationInterface {
|
|
|
17
17
|
const up = await mig.up(queryRunner)
|
|
18
18
|
debug('Migration statements executed')
|
|
19
19
|
return up
|
|
20
|
-
} else if (dbType === 'sqlite' || 'react-native') {
|
|
20
|
+
} else if (dbType === 'sqlite' || dbType === 'react-native' || dbType === 'expo') {
|
|
21
21
|
debug('using sqlite/react-native migration file')
|
|
22
22
|
const mig = new CreateStatusList1693866470002()
|
|
23
23
|
const up = await mig.up(queryRunner)
|
|
@@ -25,7 +25,7 @@ export class CreateStatusList1693866470000 implements MigrationInterface {
|
|
|
25
25
|
return up
|
|
26
26
|
} else {
|
|
27
27
|
return Promise.reject(
|
|
28
|
-
|
|
28
|
+
`Migrations are currently only supported for sqlite, react-native, expor and postgres. Was ${dbType}. Please run your database without migrations and with 'migrationsRun: false' and 'synchronize: true' for now`
|
|
29
29
|
)
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -39,7 +39,7 @@ export class CreateStatusList1693866470000 implements MigrationInterface {
|
|
|
39
39
|
const down = await mig.down(queryRunner)
|
|
40
40
|
debug('Migration statements executed')
|
|
41
41
|
return down
|
|
42
|
-
} else if (dbType === 'sqlite' || 'react-native') {
|
|
42
|
+
} else if (dbType === 'sqlite' || dbType === 'react-native' || dbType === 'expo') {
|
|
43
43
|
debug('using sqlite/react-native migration file')
|
|
44
44
|
const mig = new CreateStatusList1693866470002()
|
|
45
45
|
const down = await mig.down(queryRunner)
|
|
@@ -47,7 +47,7 @@ export class CreateStatusList1693866470000 implements MigrationInterface {
|
|
|
47
47
|
return down
|
|
48
48
|
} else {
|
|
49
49
|
return Promise.reject(
|
|
50
|
-
|
|
50
|
+
`Migrations are currently only supported for sqlite, react-native, expor and postgres. Was ${dbType}. Please run your database without migrations and with 'migrationsRun: false' and 'synchronize: true' for now`
|
|
51
51
|
)
|
|
52
52
|
}
|
|
53
53
|
}
|