Mercurial > pub > Impl
diff Lib/IMPL/SQL/Types.pm @ 38:d660fb38b7cc
small fixes
ORM shema to SQL schema transformation
author | Sergey |
---|---|
date | Mon, 23 Nov 2009 17:57:07 +0300 |
parents | 0004faa276dc |
children | 32d2350fccf9 |
line wrap: on
line diff
--- a/Lib/IMPL/SQL/Types.pm Mon Nov 23 00:59:06 2009 +0300 +++ b/Lib/IMPL/SQL/Types.pm Mon Nov 23 17:57:07 2009 +0300 @@ -4,7 +4,7 @@ require Exporter; our @ISA = qw(Exporter); -our @EXPORT_OK = qw(&Integer &Varchar &Float &Real &Text &Binary); +our @EXPORT_OK = qw(&Integer &Varchar &Float &Real &Text &Binary &DateTime); require IMPL::SQL::Schema::Type; @@ -32,4 +32,8 @@ return IMPL::SQL::Schema::Type->new(Name => 'BINARY'); } +sub DateTime() { + return IMPL::SQL::Schema::Type->new(Name => 'DATETIME'); +} + 1;