generated from Baipyrus/DiscordJS-Template
19 lines
316 B
JavaScript
19 lines
316 B
JavaScript
import { DataTypes } from 'sequelize';
|
|
|
|
export default function(sequelize) {
|
|
return sequelize.define('VoiceChannel', {
|
|
id: {
|
|
type: DataTypes.STRING,
|
|
primaryKey: true
|
|
},
|
|
create: {
|
|
type: DataTypes.BOOLEAN
|
|
},
|
|
owner: {
|
|
type: DataTypes.STRING,
|
|
defaultValue: false,
|
|
allowNull: true
|
|
}
|
|
});
|
|
}
|