Backend of public sharing at root (#6103)

This commit is contained in:
Tom Moor
2023-11-01 22:10:00 -04:00
committed by GitHub
parent 1d6ef2e1b3
commit 2838503273
11 changed files with 153 additions and 29 deletions

View File

@@ -0,0 +1,15 @@
'use strict';
module.exports = {
async up (queryInterface, Sequelize) {
await queryInterface.addColumn("shares", "domain", {
type: Sequelize.STRING,
allowNull: true,
unique: true,
});
},
async down (queryInterface) {
await queryInterface.removeColumn("shares", "domain");
}
};