Skip to content

Commit

Permalink
id is a varchar, not an integer
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrig01 committed Aug 22, 2011
1 parent 329ff1b commit 8d33e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -17,7 +17,7 @@ module.exports = function(options) {
});
}, function() {
var self = this;
options.schema += ', _id INTEGER';
options.schema += ', _id VARCHAR';
db.run('CREATE TABLE IF NOT EXISTS ' + options.table + ' (' + options.schema + ')', function (err) {
if (err) throw err;
self();
Expand Down

0 comments on commit 8d33e3a

Please sign in to comment.