1234567891011121314 |
- provide: up, down
- up = (knex, Promise) ->
- <% if (d.tableName) { %>
- knex.schema.createTable "<%= d.tableName %>": t ->
- t.increments()
- t.timestamp()
- <% } %>
- down = (knex, Promise) ->
- <% if (d.tableName) { %>
- knex.schema.dropTable("<%= d.tableName %>")
- <% } %>
|