diff --git a/src/Pluf/DB/Schema/MySQL.php b/src/Pluf/DB/Schema/MySQL.php index 4983201..2a5b4e2 100644 --- a/src/Pluf/DB/Schema/MySQL.php +++ b/src/Pluf/DB/Schema/MySQL.php @@ -48,6 +48,7 @@ class Pluf_DB_Schema_MySQL 'email' => 'varchar(150)', 'password' => 'varchar(150)', 'float' => 'numeric(%s, %s)', + 'blob' => 'blob', ); public $defaults = array( @@ -66,7 +67,7 @@ class Pluf_DB_Schema_MySQL 'email' => "''", 'password' => "''", 'float' => 0.0, - + 'blob' => "''", ); private $con = null; diff --git a/src/Pluf/DB/Schema/SQLite.php b/src/Pluf/DB/Schema/SQLite.php index a2c71e7..02f1b8b 100644 --- a/src/Pluf/DB/Schema/SQLite.php +++ b/src/Pluf/DB/Schema/SQLite.php @@ -49,6 +49,7 @@ class Pluf_DB_Schema_SQLite 'email' => 'varchar(150)', 'password' => 'varchar(150)', 'float' => 'real', + 'blob' => 'blob', ); public $defaults = array( @@ -67,7 +68,7 @@ class Pluf_DB_Schema_SQLite 'email' => "''", 'password' => "''", 'float' => 0.0, - + 'blob' => "''", ); private $con = null;