From d21070001fd90757c8a08dd3ab9a550c08a89cc2 Mon Sep 17 00:00:00 2001 From: DeLynn Berry Date: Sun, 12 Apr 2009 21:44:15 -0600 Subject: [PATCH] Fixing the schema statement. --- lib/uuid_fu/schema_statements.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"