26 lines
563 B
TypeScript
26 lines
563 B
TypeScript
import { QueryInterface } from "sequelize";
|
|
|
|
module.exports = {
|
|
up: (queryInterface: QueryInterface) => {
|
|
return queryInterface.bulkInsert(
|
|
"SettingTickets",
|
|
[
|
|
{
|
|
message: "",
|
|
startTime: new Date(),
|
|
endTime: new Date(),
|
|
value: "disabled",
|
|
key: "saturdayBusinessTime",
|
|
createdAt: new Date(),
|
|
updatedAt: new Date()
|
|
}
|
|
],
|
|
{}
|
|
);
|
|
},
|
|
|
|
down: (queryInterface: QueryInterface) => {
|
|
return queryInterface.bulkDelete("SettingTickets", {});
|
|
}
|
|
};
|