aboutsummaryrefslogtreecommitdiff
path: root/bot/src/utils/sync.js
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-03-04 10:05:14 -0500
committerAndrew Lee <andrew@alee14.me>2025-03-04 10:05:14 -0500
commitcc06b8ed4e4e0aef02dfd8ab15df22a57a177a0a (patch)
treedeffb57bee9fe24a8d1b8143fba603774544ee00 /bot/src/utils/sync.js
parent11bb9ab6b30314d91209bc9888d95783cc247e98 (diff)
downloadAleeBot-cc06b8ed4e4e0aef02dfd8ab15df22a57a177a0a.tar.gz
AleeBot-cc06b8ed4e4e0aef02dfd8ab15df22a57a177a0a.tar.bz2
AleeBot-cc06b8ed4e4e0aef02dfd8ab15df22a57a177a0a.zip
Readme change; Docker; Logging
Diffstat (limited to 'bot/src/utils/sync.js')
-rw-r--r--bot/src/utils/sync.js7
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!');
});
}