dijkstra-backend-cloudron/node_modules/knex/lib/migrate/stub/ls.stub

15 lines
281 B
Plaintext

exports.up = (knex, Promise) ->
<% if (d.tableName) { %>
knex.schema.create-table "<%= d.tableName %>", (t) ->
t.increments!
t.timestamp!
<% } %>
exports.down = (knex, Promise) ->
<% if (d.tableName) { %>
knex.schema.drop-table "<%= d.tableName %>"
<% } %>