You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
400 B
15 lines
400 B
'use strict'; |
|
|
|
/** @type {import('sequelize-cli').Migration} */ |
|
module.exports = { |
|
async up (queryInterface, Sequelize) { |
|
await queryInterface.bulkInsert('Users', [{ |
|
username: 'admin', |
|
password: '$2a$10$jtEXGBEVj1pCjXTLuPbXOOy0eErW00v/jnXxSp1jOtd9aIObtkkQW', |
|
}], {}) |
|
}, |
|
|
|
async down (queryInterface, Sequelize) { |
|
await queryInterface.bulkDelete('Users', null, {}) |
|
} |
|
};
|
|
|