Use knex instead of js-data

This commit is contained in:
Zalmoxisus committed 2016-11-08 22:48:32 +02:00
1 parent 7c106cd843
commit fd9f7f2c0d
9 files changed
+130 -64

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
exports.seed = function(knex, Promise) {
return Promise.all([
knex('remotedev_apps').del()
]).then(function() {
return Promise.all([
knex('remotedev_apps').insert({
id: '78626c31-e16b-4528-b8e5-f81301b627f4',
title: 'Default'
})
]);
});
};