import Sequelize, { InferAttributes, InferCreationAttributes, Model } from "sequelize" import { sequelize } from "utils/Illegitimate" interface Settings extends Model, InferCreationAttributes> { name: string value: string } const tag = sequelize.define("settings", { name: { type: Sequelize.STRING, allowNull: false }, value: { type: Sequelize.STRING, allowNull: false } }) export default tag