From 63679b5087ed1cd1ef6fbdeb8c63f4187d971fd6 Mon Sep 17 00:00:00 2001 From: Gabriel De Los Rios Date: Tue, 17 Feb 2026 19:53:17 -0300 Subject: [PATCH] refactor: not to drop all tables on app init --- src/app/app.config.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/app.config.ts b/src/app/app.config.ts index 4983e25..afdbbea 100644 --- a/src/app/app.config.ts +++ b/src/app/app.config.ts @@ -22,7 +22,6 @@ export const appConfig: ApplicationConfig = { translateService.addLangs(['en', 'es', 'pt']); translateService.setFallbackLang('es'); await sqlite.initializeDatabase('gptdb'); - await sqlite.dropAllTables(); await sqlite.batchSqlOperations(tables); await sqlite.executeQuery('PRAGMA foreign_keys = ON;'); document.dispatchEvent(new CustomEvent('ng-boot'));