projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Part-Manager: mit Hash-artigem Type richtig umgehen können
[kivitendo-erp.git]
/
SL
/
DB
/
MetaSetup
/
GLTransaction.pm
diff --git
a/SL/DB/MetaSetup/GLTransaction.pm
b/SL/DB/MetaSetup/GLTransaction.pm
index
54dca9a
..
33f7121
100644
(file)
--- a/
SL/DB/MetaSetup/GLTransaction.pm
+++ b/
SL/DB/MetaSetup/GLTransaction.pm
@@
-9,22
+9,22
@@
use base qw(SL::DB::Object);
__PACKAGE__->meta->table('gl');
__PACKAGE__->meta->columns(
__PACKAGE__->meta->table('gl');
__PACKAGE__->meta->columns(
-
id => { type => 'integer', not_null => 1, sequence => 'glid
' },
-
reference => { type => 'text
' },
+
cb_transaction => { type => 'boolean
' },
+
department_id => { type => 'integer
' },
description => { type => 'text' },
description => { type => 'text' },
- transdate => { type => 'date', default => 'now' },
- gldate => { type => 'date', default => 'now' },
employee_id => { type => 'integer' },
employee_id => { type => 'integer' },
- notes => { type => 'text' },
- department_id => { type => 'integer' },
- taxincluded => { type => 'boolean' },
+ gldate => { type => 'date', default => 'now' },
+ id => { type => 'integer', not_null => 1, sequence => 'glid' },
itime => { type => 'timestamp', default => 'now()' },
mtime => { type => 'timestamp' },
itime => { type => 'timestamp', default => 'now()' },
mtime => { type => 'timestamp' },
- type => { type => 'text' },
+ notes => { type => 'text' },
+ ob_transaction => { type => 'boolean' },
+ reference => { type => 'text' },
storno => { type => 'boolean', default => 'false' },
storno_id => { type => 'integer' },
storno => { type => 'boolean', default => 'false' },
storno_id => { type => 'integer' },
- ob_transaction => { type => 'boolean' },
- cb_transaction => { type => 'boolean' },
+ taxincluded => { type => 'boolean' },
+ transdate => { type => 'date', default => 'now' },
+ type => { type => 'text' },
);
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
);
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
@@
-43,7
+43,5
@@
__PACKAGE__->meta->foreign_keys(
},
);
},
);
-# __PACKAGE__->meta->initialize;
-
1;
;
1;
;