We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62dc458 commit 537df3aCopy full SHA for 537df3a
lib/migration.js
@@ -11,6 +11,12 @@ var async = require('async');
11
module.exports = mixinMigration;
12
13
function mixinMigration(PostgreSQL) {
14
+ PostgreSQL.prototype.checkFieldAndIndex = function(fields, indexes) {
15
+ if (fields && indexes)
16
+ return true;
17
+ return false;
18
+ };
19
+
20
PostgreSQL.prototype.showFields = function(model, cb) {
21
var sql = 'SELECT column_name AS "column", data_type AS "type", ' +
22
'is_nullable AS "nullable", character_maximum_length as "length"' // , data_default AS "Default"'
0 commit comments