Remove code autogeneration for table,sequence keys.
This commit is contained in:
parent
06b2fbc4ab
commit
2e79a4b52f
2 changed files with 9 additions and 5 deletions
|
|
@ -33,18 +33,18 @@ has session => (
|
|||
has lastUpdated => (
|
||||
is => 'rw',
|
||||
lazy => 1,
|
||||
builder => '_now';
|
||||
builder => '_now',
|
||||
);
|
||||
|
||||
has dateCreated => (
|
||||
is => 'rw',
|
||||
lazy => 1,
|
||||
builder => '_now';
|
||||
builder => '_now',
|
||||
);
|
||||
|
||||
sub _now {
|
||||
my $self = shift;
|
||||
return WebGUI::DateTime->new($session)->toDatabase;
|
||||
return WebGUI::DateTime->new($self->session)->toDatabase;
|
||||
}
|
||||
|
||||
has sequenceNumber => (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue