Skip to content
Snippets Groups Projects
Commit 226f6fe1 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Rename method migrate

parent dad3469f
No related branches found
No related tags found
No related merge requests found
Meteor.methods
migrate: (version) ->
migrateTo: (version) ->
user = Meteor.user()
if not user? or user.admin isnt true
return
this.ublock()
this.unblock()
Migrations.migrateTo version
return version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment