import * as Knex from "knex"; exports.up = function (knex: Knex): Promise { <% if (d.tableName) { %> return knex.schema.createTable("<%= d.tableName %>", function (t) { t.increments(); t.timestamps(); }); <% } %> }; exports.down = function (knex: Knex): Promise { <% if (d.tableName) { %> return knex.schema.dropTable("<%= d.tableName %>"); <% } %> };