moleculer-iam
Version:
Centralized IAM module for moleculer. Including a certified OIDC provider and an Identity provider for user profile, credentials, and custom claims management. Custom claims could be defined/updated by declarative schema which contains claims validation a
16 lines (11 loc) • 388 B
JavaScript
;
const { STRING, JSON, DATE, TEXT, BOOLEAN, fn } = require("sequelize");
const TABLE = "IdentityClaimsSchema";
module.exports = {
up: async (queryInterface, Sequelize) => {
await queryInterface.removeColumn(TABLE, "seed");
},
down: async (queryInterface, Sequelize) => {
await queryInterface.addColumn(TABLE, "seed", {type: JSON, allowNull: true});
},
};