[Jifty-commit] r2857 - in Jifty-DBI/trunk: t

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Tue Feb 27 21:00:18 EST 2007


Author: trs
Date: Tue Feb 27 21:00:17 2007
New Revision: 2857

Modified:
   Jifty-DBI/trunk/   (props changed)
   Jifty-DBI/trunk/t/06filter_storable.t

Log:
 r19819 at zot:  tom | 2007-02-27 20:59:52 -0500
 When using the Storable filter, we need to use blob/bytea not text


Modified: Jifty-DBI/trunk/t/06filter_storable.t
==============================================================================
--- Jifty-DBI/trunk/t/06filter_storable.t	(original)
+++ Jifty-DBI/trunk/t/06filter_storable.t	Tue Feb 27 21:00:17 2007
@@ -66,7 +66,7 @@
 <<EOF;
 CREATE table users (
     id integer primary key,
-    my_data text
+    my_data blob
 )
 EOF
 
@@ -77,7 +77,7 @@
 <<EOF;
 CREATE TEMPORARY table users (
     id integer auto_increment primary key,
-    my_data text
+    my_data blob
 )
 EOF
 
@@ -88,7 +88,7 @@
 <<EOF;
 CREATE TEMPORARY table users (
     id serial primary key,
-    my_data text
+    my_data bytea
 )
 EOF
 
@@ -99,7 +99,7 @@
 
     use Jifty::DBI::Record schema {
     column my_data =>
-        type is 'text',
+        type is 'blob',
         filters are qw/ Jifty::DBI::Filter::Storable /;
     }
 }


More information about the Jifty-commit mailing list