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

class CharacterTrait extends Model {}

CharacterTrait.init(
  {
    tr: {
      type: DataTypes.STRING,
      allowNull: false}},
  {
    sequelize,
    modelName: 'CharacterTrait',
    tableName: 'character_trait',
    schema: 'falukant_type',
    timestamps: false,
    underscored: true}
);

export default CharacterTrait;
