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.
ui/migrations/20211215172404_store-date.js

14 lines
339 B
JavaScript

"use strict";
module.exports.up = function(knex, Promise) {
return knex.schema.table("datasheets_products", (table) => {
table.timestamp("last_updated").index().notNull();
});
};
module.exports.down = function(knex, Promise) {
return knex.schema.table("datasheets_products", (table) => {
table.dropColumn("last_updated");
});
};