summaryrefslogtreecommitdiff
path: root/src/TroffmanDatabase.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/TroffmanDatabase.js')
-rw-r--r--src/TroffmanDatabase.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/TroffmanDatabase.js b/src/TroffmanDatabase.js
deleted file mode 100644
index 58e7608..0000000
--- a/src/TroffmanDatabase.js
+++ /dev/null
@@ -1,25 +0,0 @@
-const Sequelize = require('sequelize');
-
-module.exports = class TroffmanDatabase extends Sequelize {
- constructor(path) {
- super('database', 'user', 'password', {
- host: 'localhost',
- dialect: 'sqlite',
- logging: false,
- storage: path,
- });
-
- this.Auser = this.define('ausers', {
- userId: {
- type: Sequelize.STRING,
- unique: true,
- },
- });
- this.Aguild = this.define('aguilds', {
- guildId: {
- type: Sequelize.STRING,
- unique: true,
- },
- });
- }
-};