/** * @param { import("knex").Knex } knex * @returns { Promise } */ exports.up = function(knex) { <% if (d.tableName) { %> return knex.schema.createTable("<%= d.tableName %>", function(t) { t.increments(); t.timestamp(); }); <% } %> }; /** * @param { import("knex").Knex } knex * @returns { Promise } */ exports.down = function(knex) { <% if (d.tableName) { %> return knex.schema.dropTable("<%= d.tableName %>"); <% } %> };