diff --git a/lib/uuid_fu/schema_statements.rb b/lib/uuid_fu/schema_statements.rb index a7b60ed..c803e55 100644 --- a/lib/uuid_fu/schema_statements.rb +++ b/lib/uuid_fu/schema_statements.rb @@ -9,7 +9,7 @@ module InstanceMethods def type_to_sql_with_uuid(type, limit = nil, precision = nil, scale = nil) case type.to_s when "uuid" then - type = "uuid" + type = "varchar(32)" limit = 32 when "uuid_key" then type = "varchar(32) primary key"