Skip to content

Commit

Permalink
Merge pull request #147 from vapor/feature/allow-deleting-columns
Browse files Browse the repository at this point in the history
Allow deleting columns
  • Loading branch information
tanner0101 authored Oct 2, 2019
2 parents 2e2f6ea + b5d2799 commit a67a576
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/FluentMySQL/MySQLDatabase+SchemaSupporting.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ extension MySQLDatabase: SchemaSupporting {
alterTable.columns = fluent.columns
alterTable.constraints = fluent.constraints
alterTable.columnPositions = fluent.columnPositions
alterTable.deleteColumns = fluent.deleteColumns
query = ._alterTable(alterTable)
case ._dropTable:
let dropTable: MySQLDropTable = .dropTable(fluent.table)
Expand Down

0 comments on commit a67a576

Please sign in to comment.