Ctrl K
ComunidadGuías…

server/migrations/20260331000000-add-allowSubscriptions-to-shares.js

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
"use strict";

module.exports = {
  async up(queryInterface, Sequelize) {
    await queryInterface.addColumn("shares", "allowSubscriptions", {
      type: Sequelize.BOOLEAN,
      allowNull: false,
      defaultValue: true,
    });
  },

  async down(queryInterface) {
    await queryInterface.removeColumn("shares", "allowSubscriptions");
  },
};