From db33a3883db68412f364344d8ad096aa3a91640a Mon Sep 17 00:00:00 2001 From: emmanuelonah Date: Fri, 31 May 2024 07:18:36 +0200 Subject: [PATCH] fix: fix default export breaking netlify build --- src/db/schemas/history.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/db/schemas/history.ts b/src/db/schemas/history.ts index 1c02f28..9186ab6 100644 --- a/src/db/schemas/history.ts +++ b/src/db/schemas/history.ts @@ -12,8 +12,10 @@ const historiesTable = { histories: '++id, date', }; -export default { +const history = { name: 'histories', schema: HistorySchema, table: historiesTable, }; + +export default history;