Files
outline/server/migrations/20241105132600-add-allowIndexing-to-shares.js
infinite-persistence ca17b41c53 share: add allowIndexing (#7896)
* share: add `allowIndexing`

## Ticket
Closes 7486

* i18n: follow existing no-punctuation style
2024-11-08 17:28:30 -08:00

16 lines
348 B
JavaScript

"use strict";
module.exports = {
up: async (queryInterface, Sequelize) => {
await queryInterface.addColumn("shares", "allowIndexing", {
type: Sequelize.BOOLEAN,
allowNull: false,
defaultValue: true,
});
},
down: async (queryInterface) => {
await queryInterface.removeColumn("shares", "allowIndexing");
},
};