不要怂,就是干,撸起袖子干!

Commit 7c8b3ab1 by Mick Hansen

convert tests to promises

1 parent dee58c69
......@@ -255,7 +255,7 @@ module.exports = (function() {
item.primary = false;
item.unique = !!item.unique;
return self.run('PRAGMA INDEX_INFO(' + item.name + ')').then(function (columns) {
return self.run('PRAGMA INDEX_INFO(`' + item.name + '`)').then(function (columns) {
columns.forEach(function (column) {
item.fields[column.seqno] = {
attribute: column.name,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!