Permalink
Browse files

Merge pull request #24 from ydkn/sqlite3_fix

Sqlite3 compatibility fix
  • Loading branch information...
2 parents 484c92e + 538e8f9 commit e78a4e00e6ead0ae15348482c7abd3bd3fb1dfd3 @pyromaniac pyromaniac committed Feb 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/activeuuid/patches.rb
@@ -29,7 +29,7 @@ def type_cast_code_with_uuid(var_name)
end
def simplified_type_with_uuid(field_type)
- return :uuid if field_type == 'binary(16)'
+ return :uuid if field_type == 'binary(16)' || field_type == 'binary(16,0)'
simplified_type_without_uuid(field_type)
end

0 comments on commit e78a4e0

Please sign in to comment.