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

class FalukantCharacterTrait extends Model {}

FalukantCharacterTrait.init(
  {
    characterId: {
      type: DataTypes.INTEGER,
      allowNull: false},
    traitId: {
      type: DataTypes.INTEGER,
      allowNull: false}},
  {
    sequelize,
    modelName: 'FalukantCharacterTrait',
    tableName: 'falukant_character_trait',
    schema: 'falukant_data',
    timestamps: false,
    underscored: true}
);

export default FalukantCharacterTrait;
