37 lines
1.0 KiB
JavaScript
37 lines
1.0 KiB
JavaScript
module.exports = {
|
|
up: async (queryInterface, Sequelize) => {
|
|
await queryInterface.bulkInsert('SubscriptionPlan', [
|
|
{
|
|
name: 'Basic',
|
|
description: '기본적인 클럽 관리 기능을 제공합니다.',
|
|
price: 5500,
|
|
maxMembers: 10,
|
|
status: 'active',
|
|
createdAt: new Date(),
|
|
updatedAt: new Date()
|
|
},
|
|
{
|
|
name: 'Premium',
|
|
description: '고급 분석 기능과 함께 더 많은 회원을 관리할 수 있습니다.',
|
|
price: 9900,
|
|
maxMembers: 30,
|
|
status: 'active',
|
|
createdAt: new Date(),
|
|
updatedAt: new Date()
|
|
},
|
|
{
|
|
name: 'Enterprise',
|
|
description: '무제한 회원 관리와 모든 프리미엄 기능을 제공합니다.',
|
|
price: 19900,
|
|
maxMembers: 0,
|
|
status: 'active',
|
|
createdAt: new Date(),
|
|
updatedAt: new Date()
|
|
}
|
|
]);
|
|
},
|
|
down: async (queryInterface, Sequelize) => {
|
|
await queryInterface.bulkDelete('SubscriptionPlan', null, {});
|
|
}
|
|
};
|