|
|
|
@ -36,7 +36,6 @@ module.exports = {
|
|
|
|
|
if (columns != null) {
|
|
|
|
|
/* This is the naming convention that Knex uses for .enum() in PostgreSQL */
|
|
|
|
|
offendingColumn = columns.find(column => {
|
|
|
|
|
console.log(`${error.table}_${column}_check`)
|
|
|
|
|
return error.constraint === `${error.table}_${column}_check`
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|