kivitendo/SL/DB/MetaSetup/Translation.pm @ 672e9658
f97b0778 | Sven Schöling | # This file has been auto-generated. Do not modify it; it will be overwritten
|
||
# by rose_auto_create_model.pl automatically.
|
||||
package SL::DB::Translation;
|
||||
use strict;
|
||||
use base qw(SL::DB::Object);
|
||||
__PACKAGE__->meta->setup(
|
||||
table => 'translation',
|
||||
columns => [
|
||||
parts_id => { type => 'integer' },
|
||||
language_id => { type => 'integer' },
|
||||
translation => { type => 'text' },
|
||||
itime => { type => 'timestamp', default => 'now()' },
|
||||
mtime => { type => 'timestamp' },
|
||||
longdescription => { type => 'text' },
|
||||
id => { type => 'serial', not_null => 1 },
|
||||
],
|
||||
primary_key_columns => [ 'id' ],
|
||||
allow_inline_column_values => 1,
|
||||
4f15333b | Moritz Bunkus | |||
foreign_keys => [
|
||||
language => {
|
||||
class => 'SL::DB::Language',
|
||||
key_columns => { language_id => 'id' },
|
||||
},
|
||||
],
|
||||
f97b0778 | Sven Schöling | );
|
||
1;
|
||||
;
|