
exports.up = (knex) ->
  <% if (d.tableName) { %>
  knex.schema.createTable "<%= d.tableName %>", (t) ->
    t.increments()
    t.timestamp()
  <% } %>


exports.down = (knex) ->
  <% if (d.tableName) { %>
  knex.schema.dropTable "<%= d.tableName %>"
  <% } %>
