Mercurial > pub > Impl
comparison _test/Test/SQL/Diff.pm @ 181:47dac58691ee
New templating system, small fixes
author | sourcer |
---|---|
date | Thu, 26 Jan 2012 01:15:57 +0400 |
parents | d1676be8afcc |
children | 4d0e1962161c |
comparison
equal
deleted
inserted
replaced
180:d1676be8afcc | 181:47dac58691ee |
---|---|
36 }); | 36 }); |
37 | 37 |
38 $users->SetPrimaryKey('id'); | 38 $users->SetPrimaryKey('id'); |
39 $users->AddConstraint( unique => { name => 'unique_login', columns => ['login'] } ); | 39 $users->AddConstraint( unique => { name => 'unique_login', columns => ['login'] } ); |
40 | 40 |
41 warn Dumper(IMPL::SQL::Schema::Traits::Diff->Diff($schemaSrc,$schemaDst)); | 41 #warn Dumper(IMPL::SQL::Schema::Traits::Diff->Diff($schemaSrc,$schemaDst)); |
42 | 42 |
43 $schemaSrc->Dispose; | 43 $schemaSrc->Dispose; |
44 $schemaDst->Dispose; | 44 $schemaDst->Dispose; |
45 | 45 |
46 }; | 46 }; |