projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Inventory Helper: Allocation ausgelagert in eigene Datei
[kivitendo-erp.git]
/
SL
/
DB
/
MetaSetup
/
RecordLink.pm
diff --git
a/SL/DB/MetaSetup/RecordLink.pm
b/SL/DB/MetaSetup/RecordLink.pm
index
7bbd67a
..
cf2c696
100644
(file)
--- a/
SL/DB/MetaSetup/RecordLink.pm
+++ b/
SL/DB/MetaSetup/RecordLink.pm
@@
-4,24
+4,22
@@
package SL::DB::RecordLink;
use strict;
use strict;
-use
base
qw(SL::DB::Object);
+use
parent
qw(SL::DB::Object);
__PACKAGE__->meta->table('record_links');
__PACKAGE__->meta->columns(
__PACKAGE__->meta->table('record_links');
__PACKAGE__->meta->columns(
- from_table => { type => 'varchar', length => 50, not_null => 1 },
from_id => { type => 'integer', not_null => 1 },
from_id => { type => 'integer', not_null => 1 },
- to_table => { type => 'varchar', length => 50, not_null => 1 },
- to_id => { type => 'integer', not_null => 1 },
- itime => { type => 'timestamp', default => 'now()' },
+ from_table => { type => 'varchar', length => 50, not_null => 1 },
id => { type => 'serial', not_null => 1 },
id => { type => 'serial', not_null => 1 },
+ itime => { type => 'timestamp', default => 'now()' },
+ to_id => { type => 'integer', not_null => 1 },
+ to_table => { type => 'varchar', length => 50, not_null => 1 },
);
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
__PACKAGE__->meta->allow_inline_column_values(1);
);
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
__PACKAGE__->meta->allow_inline_column_values(1);
-# __PACKAGE__->meta->initialize;
-
1;
;
1;
;