This commit is contained in:
Daniel Odendahl Jr
2018-04-22 02:53:22 +00:00
parent 34d8713c27
commit fee3f330f3
10 changed files with 253 additions and 2 deletions
+23
View File
@@ -0,0 +1,23 @@
const Sequelize = require('sequelize');
const Database = require('../structures/PostgreSQL');
const Tag = Database.db.define('tag', {
userID: {
type: Sequelize.STRING,
allowNull: false
},
guildID: {
type: Sequelize.STRING,
allowNull: false
},
text: {
type: Sequelize.STRING,
allowNull: false
},
id: {
type: Sequelize.STRING,
allowNull: false
}
}, { timestamps: true });
module.exports = Tag;