20 lines
425 B
JavaScript
20 lines
425 B
JavaScript
/**
|
|
* @param { import("knex").Knex } knex
|
|
* @returns { Promise<void> }
|
|
*/
|
|
exports.up = function(knex) {
|
|
return knex.schema.alterTable('mailbox', function (table) {
|
|
table.uuid('id').alter();
|
|
});
|
|
};
|
|
|
|
/**
|
|
* @param { import("knex").Knex } knex
|
|
* @returns { Promise<void> }
|
|
*/
|
|
exports.down = function(knex) {
|
|
return knex.schema.alterTable('mailbox', function (table) {
|
|
table.bigInteger('id').alter();
|
|
});
|
|
};
|