Seeders: Change test band/character names to avoid conflict

with the actual BAND-MAID dataset
This commit is contained in:
2022-09-05 23:29:08 +02:00
parent 1206251ff6
commit ee12d26cc6
4 changed files with 9 additions and 17 deletions

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

Before

Width:  |  Height:  |  Size: 199 KiB

After

Width:  |  Height:  |  Size: 199 KiB

View File

Before

Width:  |  Height:  |  Size: 306 KiB

After

Width:  |  Height:  |  Size: 306 KiB

View File

@@ -2,36 +2,28 @@
module.exports = { module.exports = {
async up (queryInterface, Sequelize) { async up (queryInterface, Sequelize) {
/**
* Add seed commands here.
*
* Example:
* await queryInterface.bulkInsert('People', [{
* name: 'John Doe',
* isBetaMember: false
* }], {});
*/
await queryInterface.bulkInsert('Bands', [{ await queryInterface.bulkInsert('Bands', [{
id: 1, id: 1,
name: 'BAND-MAID', name: 'TEST-BAND',
description: 'Band-Maid (stylized as BAND-MAID) 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-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.',
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, bandId: 1,
name: 'Miku Kobato', name: 'Band Member 1',
description: 'Miku Kobato is a Japanese singer, songwriter and guitarist. She is the initial founding member and main lyricist for BAND-MAID.', description: 'Band Member 1 is a Japanese singer, songwriter and guitarist. She is the initial founding member and main lyricist for TEST-BAND.',
imageIdentifier: 'bandmaid/miku.png', imageIdentifier: 'testband/miku.png',
enabled: true enabled: true
}, },
{ {
id: 2, id: 2,
bandId: 1, bandId: 1,
name: 'Akane Hirose', name: 'Band Member 2',
description: 'Akane Hirose is a Japanese drummer and founding member of BAND-MAID.', description: 'Band Member 2 is a Japanese drummer and founding member of TEST-BAND',
imageIdentifier: 'bandmaid/akane.png', imageIdentifier: 'testband/akane.png',
enabled: true enabled: true
}]); }]);
}, },