Add payloads
schema
This commit is contained in:
@ -20,6 +20,16 @@ exports.up = function(knex, Promise) {
|
||||
.references('id')
|
||||
.inTable('remotedev_apps');
|
||||
}),
|
||||
|
||||
knex.schema.createTable('remotedev_payloads', function(table){
|
||||
table.uuid('id').primary();
|
||||
table.text('state');
|
||||
table.text('action');
|
||||
table.timestamp('added');
|
||||
table.uuid('reportId')
|
||||
.references('id')
|
||||
.inTable('remotedev_reports');
|
||||
}),
|
||||
|
||||
knex.schema.createTable('remotedev_apps', function(table){
|
||||
table.uuid('id').primary();
|
||||
|
Reference in New Issue
Block a user