From 2cd7cc430fc28db2a9721b139a1cf3cc458dd682 Mon Sep 17 00:00:00 2001 From: kilted-andres Date: Mon, 12 Aug 2024 17:24:08 +0200 Subject: [PATCH] fix: migrations --- src/migrations/20240807132131-dropAttestations.cjs | 2 +- ...eExtrinsicHash.js => 20240807162056-removeExtrinsicHash.cjs} | 0 ...atedField.js => 20240808141601-attestationsCreatedField.cjs} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename src/migrations/{20240807162056-removeExtrinsicHash.js => 20240807162056-removeExtrinsicHash.cjs} (100%) rename src/migrations/{20240808141601-attestationsCreatedField.js => 20240808141601-attestationsCreatedField.cjs} (100%) diff --git a/src/migrations/20240807132131-dropAttestations.cjs b/src/migrations/20240807132131-dropAttestations.cjs index 27ac0e3a..73c6534e 100644 --- a/src/migrations/20240807132131-dropAttestations.cjs +++ b/src/migrations/20240807132131-dropAttestations.cjs @@ -13,7 +13,7 @@ module.exports = { 'Attestations_cTypeId_fkey', ); - await queryInterface.dropTable('Attestation'); + await queryInterface.dropTable('Attestations'); }, async down(queryInterface, Sequelize) { diff --git a/src/migrations/20240807162056-removeExtrinsicHash.js b/src/migrations/20240807162056-removeExtrinsicHash.cjs similarity index 100% rename from src/migrations/20240807162056-removeExtrinsicHash.js rename to src/migrations/20240807162056-removeExtrinsicHash.cjs diff --git a/src/migrations/20240808141601-attestationsCreatedField.js b/src/migrations/20240808141601-attestationsCreatedField.cjs similarity index 100% rename from src/migrations/20240808141601-attestationsCreatedField.js rename to src/migrations/20240808141601-attestationsCreatedField.cjs