fix migrations

This commit is contained in:
Josh Harvey 2015-01-08 17:08:22 -05:00
parent 4689dfcbeb
commit f67c7ccce3
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
var db = require('./db');
exports.up = function(next) {
db.query('CREATE TABLE machine_events ( ' +
db.query('CREATE TABLE IF NOT EXISTS machine_events ( ' +
'id uuid PRIMARY KEY, ' +
'device_fingerprint text NOT NULL, ' +
'event_type text NOT NULL, ' +