projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pflichtenhefte vordef Textblöcke: Verwaltung Flags »benutzbar für…«
[kivitendo-erp.git]
/
SL
/
DB
/
MetaSetup
/
FollowUpAccess.pm
diff --git
a/SL/DB/MetaSetup/FollowUpAccess.pm
b/SL/DB/MetaSetup/FollowUpAccess.pm
index
55c6f5f
..
c2fccb1
100644
(file)
--- a/
SL/DB/MetaSetup/FollowUpAccess.pm
+++ b/
SL/DB/MetaSetup/FollowUpAccess.pm
@@
-9,26
+9,24
@@
use base qw(SL::DB::Object);
__PACKAGE__->meta->table('follow_up_access');
__PACKAGE__->meta->columns(
__PACKAGE__->meta->table('follow_up_access');
__PACKAGE__->meta->columns(
- who => { type => 'integer', not_null => 1 },
- what => { type => 'integer', not_null => 1 },
id => { type => 'serial', not_null => 1 },
id => { type => 'serial', not_null => 1 },
+ what => { type => 'integer', not_null => 1 },
+ who => { type => 'integer', not_null => 1 },
);
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
__PACKAGE__->meta->foreign_keys(
);
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
__PACKAGE__->meta->foreign_keys(
-
employee
=> {
+
to_follow_ups_by
=> {
class => 'SL::DB::Employee',
class => 'SL::DB::Employee',
- key_columns => { wh
o
=> 'id' },
+ key_columns => { wh
at
=> 'id' },
},
},
-
employee_obj
=> {
+
with_access
=> {
class => 'SL::DB::Employee',
class => 'SL::DB::Employee',
- key_columns => { wh
at
=> 'id' },
+ key_columns => { wh
o
=> 'id' },
},
);
},
);
-# __PACKAGE__->meta->initialize;
-
1;
;
1;
;