import DataTypes from 'sequelize';

export default (sequelize) => {
    sequelize.define(
        'transmissions',
        {
            id: {
                allowNull: false,
                autoIncrement: true,
                primaryKey: true,
                type: DataTypes.INTEGER,
            },
            type: {
                allowNull: false,
                type: DataTypes.STRING,
            },
        },
        {
            tableName: 'transmissions',
            timestamps: true,
        }
    );
};