Updated the Channel.ts model
This commit is contained in:
parent
276ea0f971
commit
933eec0f53
@ -3,7 +3,7 @@ import {DataTypes, InferAttributes, InferCreationAttributes, Model} from "sequel
|
|||||||
|
|
||||||
export interface IChannel extends Model<InferAttributes<IChannel>, InferCreationAttributes<IChannel>> {
|
export interface IChannel extends Model<InferAttributes<IChannel>, InferCreationAttributes<IChannel>> {
|
||||||
guildId: number
|
guildId: number
|
||||||
clientId: number
|
channelId: number
|
||||||
webhookToken: string
|
webhookToken: string
|
||||||
langCode: string
|
langCode: string
|
||||||
emotes: number
|
emotes: number
|
||||||
@ -17,7 +17,7 @@ const ChannelSchema = sequelize.define<IChannel>('channels', {
|
|||||||
type: DataTypes.BIGINT,
|
type: DataTypes.BIGINT,
|
||||||
allowNull: false
|
allowNull: false
|
||||||
},
|
},
|
||||||
clientId: {
|
channelId: {
|
||||||
type: DataTypes.BIGINT,
|
type: DataTypes.BIGINT,
|
||||||
allowNull: false
|
allowNull: false
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user