@crowdin/app-project-module 0.94.1 → 0.94.2
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/out/storage/postgre.js +0 -4
- package/package.json +1 -1
package/out/storage/postgre.js
CHANGED
|
@@ -212,9 +212,6 @@ class PostgreStorage {
|
|
|
212
212
|
this._res && this._res();
|
|
213
213
|
// TODO: temporary code
|
|
214
214
|
yield this.executeQuery((client) => this.alterTables(client));
|
|
215
|
-
// Reset sequences for tables with serial primary keys
|
|
216
|
-
// TODO: remove this after migration
|
|
217
|
-
yield this.resetSequences();
|
|
218
215
|
}
|
|
219
216
|
catch (e) {
|
|
220
217
|
console.error(e);
|
|
@@ -933,7 +930,6 @@ class PostgreStorage {
|
|
|
933
930
|
}
|
|
934
931
|
resetSequences() {
|
|
935
932
|
return __awaiter(this, void 0, void 0, function* () {
|
|
936
|
-
yield this.dbPromise;
|
|
937
933
|
yield this.executeQuery((client) => __awaiter(this, void 0, void 0, function* () {
|
|
938
934
|
const tables = Object.keys(this.tables);
|
|
939
935
|
for (const table of tables) {
|
package/package.json
CHANGED