Seeds: Update seed files to new schema
This commit is contained in:
@@ -3,25 +3,25 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
async up (queryInterface, Sequelize) {
|
async up (queryInterface, Sequelize) {
|
||||||
|
|
||||||
await queryInterface.bulkInsert('Bands', [{
|
await queryInterface.bulkInsert('Groups', [{
|
||||||
id: 1,
|
id: 1,
|
||||||
name: 'TEST-BAND',
|
name: 'TEST-GROUP',
|
||||||
description: 'Test-Band (stylized as TEST-BAND) is an all girl rock band from Tokyo that formed in July 2013. The band combines a rock sound with a maid image modeled on Japanese maid cafés.',
|
description: 'Test-Group (stylized as TEST-GROUP) is an all girl rock band from Tokyo that formed in July 2013. The band combines a rock sound with a maid image modeled on Japanese maid cafés.',
|
||||||
imageURL: 'https://cdn.discordapp.com/attachments/851543504831119380/1009467684490063892/unknown.png',
|
imageURL: 'https://cdn.discordapp.com/attachments/851543504831119380/1009467684490063892/unknown.png',
|
||||||
enabled: true
|
enabled: true
|
||||||
}]);
|
}]);
|
||||||
await queryInterface.bulkInsert('Characters', [{
|
await queryInterface.bulkInsert('Characters', [{
|
||||||
id: 1,
|
id: 1,
|
||||||
bandId: 1,
|
groupId: 1,
|
||||||
name: 'Band Member 1',
|
name: 'Group Member 1',
|
||||||
description: 'Band Member 1 is a Japanese singer, songwriter and guitarist. She is the initial founding member and main lyricist for TEST-BAND.',
|
description: 'Band Member 1 is a Japanese singer, songwriter and guitarist. She is the initial founding member and main lyricist for TEST-BAND.',
|
||||||
imageIdentifier: 'testband/miku.png',
|
imageIdentifier: 'testband/miku.png',
|
||||||
enabled: true
|
enabled: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 2,
|
id: 2,
|
||||||
bandId: 1,
|
groupId: 1,
|
||||||
name: 'Band Member 2',
|
name: 'Group Member 2',
|
||||||
description: 'Band Member 2 is a Japanese drummer and founding member of TEST-BAND',
|
description: 'Band Member 2 is a Japanese drummer and founding member of TEST-BAND',
|
||||||
imageIdentifier: 'testband/akane.png',
|
imageIdentifier: 'testband/akane.png',
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -6,8 +6,9 @@ module.exports = {
|
|||||||
id: 1,
|
id: 1,
|
||||||
maintenance: 0,
|
maintenance: 0,
|
||||||
adminIDs: '["222457277708369928"]',
|
adminIDs: '["222457277708369928"]',
|
||||||
pullTimeout: 300000,
|
claimTimeout: 300000,
|
||||||
dropTimeout: 900000
|
dropTimeout: 900000,
|
||||||
|
patreonTierRoles: '{"1083018874263453868":1,"1083018984921759744":2,"1083019067184664607":3,"1083019116111216702":4,"1084519566354423918":5}'
|
||||||
}]);
|
}]);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,9 @@ module.exports = {
|
|||||||
discordId: '123456789',
|
discordId: '123456789',
|
||||||
active: false,
|
active: false,
|
||||||
privacy: 0,
|
privacy: 0,
|
||||||
|
nextDropReset: new Date(),
|
||||||
|
nextClaimReset: new Date(),
|
||||||
|
nextDaily: new Date(),
|
||||||
createdAt: new Date(),
|
createdAt: new Date(),
|
||||||
updatedAt: new Date()
|
updatedAt: new Date()
|
||||||
}]);
|
}]);
|
||||||
|
|||||||
Reference in New Issue
Block a user