Ctrl K
ComunidadGuías…

server/migrations/20260221131935-add-client-credentials-to-authentications.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("authentications", "clientId", {
      type: Sequelize.STRING,
      allowNull: true,
    });
    await queryInterface.addColumn("authentications", "clientSecret", {
      type: Sequelize.BLOB,
      allowNull: true,
    });
  },

  async down(queryInterface) {
    await queryInterface.removeColumn("authentications", "clientId");
    await queryInterface.removeColumn("authentications", "clientSecret");
  },
};