MCPcopy Create free account
hub / github.com/abelosorio/sequelize_replace_enum_postgres / replaceEnum

Function replaceEnum

src/index.js:70–128  ·  view source on GitHub ↗

* Implementation of enum replacement. * * @param {Object} args * @param {String} args.tableName * @param {String} args.columnName * @param {String} args.defaultValue * @param {Array} args.newValues * @param {Object} args.queryInterface * @param {Object} args.newSequelizeOptions * @param {S

(args)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

index.jsFile · 0.85
index.jsFile · 0.85

Calls 6

createEnumFunction · 0.85
setColumnTypeToEnumFunction · 0.85
dropEnumFunction · 0.85
renameEnumFunction · 0.85
setColumnDefaultFunction · 0.85

Tested by

no test coverage detected