'use strict';

/** @type {import('sequelize-cli').Migration} */
module.exports = {
	async up(queryInterface, Sequelize) {
		await queryInterface.addColumn('tickets', 'total', {
			type: Sequelize.DECIMAL(10, 2),
			allowNull: true,
			defaultValue: 0.0,
		});
	},

	async down(queryInterface, Sequelize) {
		await queryInterface.removeColumn('tickets', 'total');
	},
};
