Version Controll System for RDBO.
[blog.pm-common-perl-mods.git] / Rose-DB-Object-VCS / t / lib / PostDiff.pm
blob4589e959ea2b7722103172a62a5edc8e954a6405
1 package PostDiff;
3 use strict;
5 use base qw(DB::Object);
7 __PACKAGE__->meta->setup(
8 table => 'post_diffs',
10 columns => [
11 qw/ id post_id title content user_id revision addtime /,
14 primary_key_columns => [ qw/ id / ],
16 relationships => [
17 post => {
18 type => 'many to one',
19 class => 'Post',
20 key_columns => { post_id => 'id' }
25 =head1 AUTHOR
27 vti
29 =head1 LICENSE
31 This library is free software, you can redistribute it and/or modify
32 it under the same terms as Perl itself.
34 =cut