text: module.exports = {
    up: (queryInterface, Sequelize) => {
      return queryInterface.createTable('customer_cars', {
        id: {
          type: Sequelize.INTEGER,
          allowNull: false,
          primaryKey: true,
          autoIncrement: true,
        },
        customer_id: {
          type: Sequelize.INTEGER,
          allowNull: true,
          references: { model: 'customers', key: 'id' },
          onUpdate: 'CASCADE',
          onDelete: 'SET NULL',
        },
        model: {
          type: Sequelize.STRING,
          allowNull: false,
        },
        manufacture_year: {
          type: Sequelize.INTEGER,
          allowNull: false,
        },
        manufacturer: {
          type: Sequelize.STRING,
          allowNull: false,
        },
        license_plate: {
          type: Sequelize.STRING,
          allowNull: false,
        },
        created_at: {
          type: Sequelize.DATE,
          allowNull: false,
        },
        updated_at: {
          type: Sequelize.DATE,
          allowNull: false,
        },
        deleted_at: {
          type: Sequelize.DATE,
          allowNull: true,
          defaultValue: null,
        },
      });
    },
  
    down: (queryInterface) => {
      return queryInterface.dropTable('customer_cars');
    },
  };
  