import DataTypes from 'sequelize';

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