@parsifal-m/backstage-plugin-open-feedback-backend
Version:
This plugin serves as the backend for OpenFeedback.
20 lines (18 loc) • 407 B
JavaScript
/**
* @param { import("knex").Knex } knex
* @returns { Promise<void> }
*/
exports.up = function up(knex) {
return knex.schema.table('open_feedback', table => {
table.string('url');
});
};
/**
* @param { import("knex").Knex } knex
* @returns { Promise<void> }
*/
exports.down = function down(knex) {
return knex.schema.table('open_feedback', table => {
table.dropColumn('url');
});
};