From a88d6ca4867001e5e096c466f0a24e5a83b7c5b6 Mon Sep 17 00:00:00 2001 From: boufni95 Date: Tue, 19 Dec 2023 15:20:55 +0100 Subject: [PATCH] enable db logging --- src/services/storage/db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/storage/db.ts b/src/services/storage/db.ts index 582cafcf..9c7870a8 100644 --- a/src/services/storage/db.ts +++ b/src/services/storage/db.ts @@ -23,7 +23,7 @@ export default async (settings: DbSettings) => { return new DataSource({ type: "sqlite", database: settings.databaseFile, - //logging: true, + logging: true, entities: [User, UserReceivingInvoice, UserReceivingAddress, AddressReceivingTransaction, UserInvoicePayment, UserTransactionPayment, UserBasicAuth, UserEphemeralKey, Product, UserToUserPayment, Application, ApplicationUser, UserToUserPayment], synchronize: true, }).initialize()