From cc06b8ed4e4e0aef02dfd8ab15df22a57a177a0a Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 4 Mar 2025 10:05:14 -0500 Subject: Readme change; Docker; Logging --- bot/src/utils/sync.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'bot/src/utils/sync.js') diff --git a/bot/src/utils/sync.js b/bot/src/utils/sync.js index d51a081..fbf6c2e 100644 --- a/bot/src/utils/sync.js +++ b/bot/src/utils/sync.js @@ -1,17 +1,16 @@ import { quote, pendingQuote } from '../models/quote.js'; import { guildSettings } from '../models/guild-settings.js'; - export function syncDB() { - quote.sync({alter: true}).then(() => { + quote.sync().then(() => { console.log('[>] Quote database synced!'); }); - pendingQuote.sync({alter: true}).then(() => { + pendingQuote.sync().then(() => { console.log('[>] Pending Quote database synced!'); }); - guildSettings.sync({alter: true}).then(() => { + guildSettings.sync().then(() => { console.log('[>] Guild database synced!'); }); } -- cgit v1.2.3