2024-02-06 15:18:06 +00:00
|
|
|
import { DataTypes } from 'sequelize';
|
|
|
|
|
2024-02-08 20:11:56 +00:00
|
|
|
export default function (sequelize) {
|
2024-02-06 15:18:06 +00:00
|
|
|
return sequelize.define('VoiceChannel', {
|
|
|
|
id: {
|
|
|
|
type: DataTypes.STRING,
|
|
|
|
primaryKey: true
|
2024-02-07 19:04:16 +00:00
|
|
|
},
|
|
|
|
create: {
|
2024-02-08 19:37:31 +00:00
|
|
|
type: DataTypes.BOOLEAN,
|
|
|
|
defaultValue: false
|
2024-02-07 19:04:16 +00:00
|
|
|
},
|
|
|
|
owner: {
|
|
|
|
type: DataTypes.STRING,
|
|
|
|
allowNull: true
|
2024-02-06 15:18:06 +00:00
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|