refactor user table and setup timestamp auto setting

This commit is contained in:
Tom Bloor 2017-04-21 20:52:14 +01:00
parent 6bfd516d76
commit d0cbb215d8
15 changed files with 74 additions and 380 deletions

View file

@ -124,7 +124,7 @@ Related object: L<Pear::LocalLoop::Schema::Result::User>
__PACKAGE__->might_have(
"user",
"Pear::LocalLoop::Schema::Result::User",
{ "foreign.customerid_fk" => "self.customerid" },
{ "foreign.customer_id" => "self.customerid" },
{ cascade_copy => 0, cascade_delete => 0 },
);