Skip to content

Commit

Permalink
Modified .bool to work under the limitations of Swift MySQL driver. u…
Browse files Browse the repository at this point in the history
…pdated .gitignore.
  • Loading branch information
BrettRToomey committed Aug 7, 2016
1 parent c2e42f8 commit 3da7e99
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 3da7e99

Please sign in to comment.