Skip to content

Commit 90d1b86

Browse files
committed
Cleanup commented code in test
1 parent 9bde9f1 commit 90d1b86

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/foreign_key_batch.js

-6
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ module.exports = (driver, config, internals) => ({
6161
}.bind(this));
6262
},
6363
'that has foreign key column with the expected reference': function (err, table) {
64-
// console.log(err, table)
6564
const foreignKeyDefinition = table.meta
6665
.sql
6766
.match(/"event_type_id"[^,]+/)[0]
@@ -71,11 +70,6 @@ module.exports = (driver, config, internals) => ({
7170
foreignKeyDefinition,
7271
'"event_type_id" INTEGER NOT NULL REFERENCES event_type(id) ON DELETE CASCADE'
7372
)
74-
/*var column = findByName(columns, 'id');
75-
assert.equal(column.getDataType(), 'INTEGER');
76-
assert.equal(column.isPrimaryKey(), true);
77-
assert.equal(column.isNullable(), false);
78-
assert.equal(column.isAutoIncrementing(), true);*/
7973
}
8074

8175
}

0 commit comments

Comments
 (0)