mirror of
https://framagit.org/les/gancio.git
synced 2025-02-01 00:52:01 +01:00
19 lines
422 B
JavaScript
19 lines
422 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
up: (queryInterface, Sequelize) => {
|
|
return queryInterface.changeColumn('comments', 'activitypub_id', {
|
|
type: Sequelize.STRING,
|
|
index: true,
|
|
unique: true
|
|
})
|
|
},
|
|
|
|
down: (queryInterface, Sequelize) => {
|
|
return queryInterface.changeColumn('comments', 'activitypub_id', {
|
|
type: Sequelize.STRING(18),
|
|
index: true,
|
|
unique: true
|
|
})
|
|
}
|
|
}
|