Skip to content

Commit

Permalink
Merge pull request #6 from vapor/bool-update
Browse files Browse the repository at this point in the history
Modified .bool to work under the limitations of Swift MySQL driver
  • Loading branch information
tanner0101 authored Aug 7, 2016
2 parents c2e42f8 + 3da7e99 commit f75eb6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.build
Packages
*.xcodeproj
.DS_Store
2 changes: 1 addition & 1 deletion Sources/FluentMySQL/MySQLSerializer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public final class MySQLSerializer: GeneralSQLSerializer {
case .double:
return "DOUBLE"
case .bool:
return "BIT"
return "TINYINT"
case .data:
return "BLOB"
}
Expand Down

0 comments on commit f75eb6f

Please sign in to comment.