Skip to content

Bump coffeescript to v2 to allow async/await - #2

Open
nkofl wants to merge 1 commit into
db-migrate:masterfrom
nkofl:master
Open

Bump coffeescript to v2 to allow async/await#2
nkofl wants to merge 1 commit into
db-migrate:masterfrom
nkofl:master

Conversation

@nkofl

@nkofl nkofl commented Apr 21, 2018

Copy link
Copy Markdown

This lets you do things a little more concisely. eg:

exports.down = (db) ->
  await db.dropTable 'session'
  await db.dropTable 'log'
  await db.dropTable 'user'

Signed-off-by: Nate Koflanovich <nate@basalogic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant