import { sequelize } from '../../utils/sequelize.js';
import { DataTypes } from 'sequelize';

const ForumForumPermission = sequelize.define('forum_forum_permission', {
    forumId: {
        type: DataTypes.INTEGER,
        allowNull: false
    },
    permissionId: {
        type: DataTypes.INTEGER,
        allowNull: false
    }
}, {
    tableName: 'forum_forum_permission',
    schema: 'forum',
    underscored: true
});

export default ForumForumPermission;
