Fix BEGIN WORK/COMMIT/ROLLBACK debug statements lost with profiling change
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / TreeLike.pm
CommitLineData
c6d74d3e 1package # hide from PAUSE
2 DBICTest::Schema::TreeLike;
38a0b4ff 3
ff657a43 4use base qw/DBIx::Class::Core/;
38a0b4ff 5
6__PACKAGE__->table('treelike');
7__PACKAGE__->add_columns(
8 'id' => { data_type => 'integer', is_auto_increment => 1 },
9 'parent' => { data_type => 'integer' },
cb561d1a 10 'name' => { data_type => 'varchar',
11 size => 100,
12 },
38a0b4ff 13);
14__PACKAGE__->set_primary_key(qw/id/);
c037c03a 15__PACKAGE__->belongs_to('parent', 'DBICTest::Schema::TreeLike',
38a0b4ff 16 { 'foreign.id' => 'self.parent' });
17
181;