TableAlteration
A TableDefinition
lets you modify the components of a database table.
final class TableAlteration
You don’t create instances of this class. Instead, you use the Database
alter(table:body:)
method:
try db.alter(table: "player") { t in // t is TableAlteration
t.add(column: "bonus", .integer)
}
Related SQLite documentation: https://www.sqlite.org/lang_altertable.html