Initial commit
This commit is contained in:
14
node_modules/knex/lib/migrations/migrate/stub/ls.stub
generated
vendored
Executable file
14
node_modules/knex/lib/migrations/migrate/stub/ls.stub
generated
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
|
||||
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 %>"
|
||||
<% } %>
|
||||
|
||||
Reference in New Issue
Block a user