You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
488 B
JavaScript
18 lines
488 B
JavaScript
"use strict";
|
|
|
|
module.exports.up = function(knex, Promise) {
|
|
return knex.schema
|
|
.alterTable("srap_task_results", (table) => {
|
|
table.jsonb("metadata").notNullable().default({}).alter();
|
|
table.boolean("is_successful").nullable().alter();
|
|
});
|
|
};
|
|
|
|
module.exports.down = function(knex, Promise) {
|
|
return knex.schema
|
|
.alterTable("srap_task_results", (table) => {
|
|
table.jsonb("metadata").notNullable().alter();
|
|
table.boolean("is_successful").notNullable().alter();
|
|
});
|
|
};
|