DiscordJS-Template/models/voiceChannels.js
2024-02-08 21:11:56 +01:00

19 lines
317 B
JavaScript

import { DataTypes } from 'sequelize';
export default function (sequelize) {
return sequelize.define('VoiceChannel', {
id: {
type: DataTypes.STRING,
primaryKey: true
},
create: {
type: DataTypes.BOOLEAN,
defaultValue: false
},
owner: {
type: DataTypes.STRING,
allowNull: true
}
});
}