mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 07:46:43 +02:00
24 lines
418 B
JavaScript
24 lines
418 B
JavaScript
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;
|