Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Sqlite3 compatibility fix #24

Merged
merged 1 commit into from

2 participants

@ydkn

In some cases SQLite3 reports binary(16,0) as the column type instead of simply binary(16)

@pyromaniac pyromaniac merged commit e78a4e0 into jashmenn:master
@pyromaniac
Collaborator

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 10, 2013
  1. @ydkn

    fixed sqlite3 compatibility

    ydkn authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/activeuuid/patches.rb
View
2  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
Something went wrong with that request. Please try again.