blob: 6d4735cabd21ea8776037fb92f4b329fd9f275c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
exports.up = function(knex, Promise) {
return knex.schema.createTable('tasks', function (table) {
table.increments()
table.integer('job_id')
table.string('username')
table.boolean('completed')
table.string('command')
table.integer('content_file_id')
table.integer('style_file_id')
table.string('alpha')
table.timestamps()
})
};
exports.down = function(knex, Promise) {
return knex.schema.dropTable('tasks')
};
|