mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
17 lines
376 B
JavaScript
17 lines
376 B
JavaScript
'use strict'
|
|
|
|
module.exports = {
|
|
up: (queryInterface, Sequelize) => {
|
|
return queryInterface.bulkInsert('oauth_clients', [{
|
|
id: 'self',
|
|
name: 'self',
|
|
scopes: 'all',
|
|
createdAt: new Date(),
|
|
updatedAt: new Date()
|
|
}])
|
|
},
|
|
|
|
down: (queryInterface, Sequelize) => {
|
|
return queryInterface.bulkDelete('oauth_clients', { id: 'self' })
|
|
}
|
|
}
|