projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DB Transaktionen - Fehler nach oben durchreichen
[kivitendo-erp.git]
/
SL
/
DB
/
MetaSetup
/
CustomVariableValidity.pm
diff --git
a/SL/DB/MetaSetup/CustomVariableValidity.pm
b/SL/DB/MetaSetup/CustomVariableValidity.pm
index
3757ddc
..
6b9dcd8
100644
(file)
--- a/
SL/DB/MetaSetup/CustomVariableValidity.pm
+++ b/
SL/DB/MetaSetup/CustomVariableValidity.pm
@@
-4,15
+4,15
@@
package SL::DB::CustomVariableValidity;
use strict;
use strict;
-use
base
qw(SL::DB::Object);
+use
parent
qw(SL::DB::Object);
__PACKAGE__->meta->table('custom_variables_validity');
__PACKAGE__->meta->columns(
__PACKAGE__->meta->table('custom_variables_validity');
__PACKAGE__->meta->columns(
- id => { type => 'integer', not_null => 1, sequence => 'id' },
config_id => { type => 'integer', not_null => 1 },
config_id => { type => 'integer', not_null => 1 },
-
trans_id => { type => 'integer', not_null => 1
},
+
id => { type => 'integer', not_null => 1, sequence => 'id'
},
itime => { type => 'timestamp', default => 'now()' },
itime => { type => 'timestamp', default => 'now()' },
+ trans_id => { type => 'integer', not_null => 1 },
);
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
);
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
@@
-26,7
+26,5
@@
__PACKAGE__->meta->foreign_keys(
},
);
},
);
-# __PACKAGE__->meta->initialize;
-
1;
;
1;
;