diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-03-04 10:05:14 -0500 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-03-04 10:05:14 -0500 |
| commit | cc06b8ed4e4e0aef02dfd8ab15df22a57a177a0a (patch) | |
| tree | deffb57bee9fe24a8d1b8143fba603774544ee00 /bot/src/utils | |
| parent | 11bb9ab6b30314d91209bc9888d95783cc247e98 (diff) | |
| download | AleeBot-cc06b8ed4e4e0aef02dfd8ab15df22a57a177a0a.tar.gz AleeBot-cc06b8ed4e4e0aef02dfd8ab15df22a57a177a0a.tar.bz2 AleeBot-cc06b8ed4e4e0aef02dfd8ab15df22a57a177a0a.zip | |
Readme change; Docker; Logging
Diffstat (limited to 'bot/src/utils')
| -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!'); }); } |
