* provide a type-ahead search input on shared document pages that allow search of child document tree * improve keyboard navigation handling of all search views * improve coloring on dark mode list selection states * refactor PaginatedList component to eliminate edge cases
19 lines
419 B
JavaScript
19 lines
419 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
up: async (queryInterface, Sequelize) => {
|
|
await queryInterface.addColumn("search_queries", "shareId", {
|
|
type: Sequelize.UUID,
|
|
defaultValue: null,
|
|
allowNull: true,
|
|
references: {
|
|
model: "shares",
|
|
key: "id"
|
|
},
|
|
});
|
|
},
|
|
down: async (queryInterface) => {
|
|
await queryInterface.removeColumn("search_queries", "shareId");
|
|
},
|
|
};
|