Skip to content

Instantly share code, notes, and snippets.

@mczachurski
Created February 22, 2018 16:11
Show Gist options
  • Save mczachurski/cb19589142360f034fec1abae51bef98 to your computer and use it in GitHub Desktop.
Save mczachurski/cb19589142360f034fec1abae51bef98 to your computer and use it in GitHub Desktop.
// Run migrations.
let databaseContext = try! container.resolve() as DatabaseContextProtocol
databaseContext.executeMigrations()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment