Skip to content

Instantly share code, notes, and snippets.

@adriencanterot
Created December 27, 2016 08:51
Show Gist options
  • Save adriencanterot/322e572b4336bb5580faf40b15565862 to your computer and use it in GitHub Desktop.
Save adriencanterot/322e572b4336bb5580faf40b15565862 to your computer and use it in GitHub Desktop.
public struct User2712: Preparation {
public static func prepare(_ database: Database) throws {
try database.modify("users") { modifier in
modifier.double("doubleField")
}
}
public static func revert(_ detabase: Database) throws {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment