diff _test/Test/ORM/Schema.pm @ 31:d59526f6310e

Small fixes to Test framework (correct handlinf of the compilation errors in the test units) Imported and refactored SQL DB schema from the old project
author Sergey
date Mon, 09 Nov 2009 01:39:16 +0300
parents dd4d72600c69
children d660fb38b7cc
line wrap: on
line diff
--- a/_test/Test/ORM/Schema.pm	Tue Nov 03 16:31:47 2009 +0300
+++ b/_test/Test/ORM/Schema.pm	Mon Nov 09 01:39:16 2009 +0300
@@ -51,8 +51,8 @@
 BEGIN {
     public property Id => prop_get, { type => 'String' }; # Field
     public property User => prop_get, { type => 'Test::ORM::Schema::Data::User' }; # HasOne
-    public property Data => prop_all, { type => Map( 'String','String' ) }; # HasOne
-    public property AccessTime => prop_get { type => 'DateTime' }; # Field
+    #public property Data => prop_all, { type => Map( 'String','String' ) }; # HasOne
+    public property AccessTime => prop_get, { type => 'DateTime' }; # Field
 }
 
 package Test::ORM::Schema::Data;
@@ -73,4 +73,6 @@
     Session
 );
 
+__PACKAGE__->CompleteSchema;
+
 1;