diff options
Diffstat (limited to 'bot/src/utils/sync.js')
| -rw-r--r-- | bot/src/utils/sync.js | 7 |
1 files changed, 3 insertions, 4 deletions
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!'); }); } |
