DBO Update - alle normalen Models hinzugefĆ¼gt.
[kivitendo-erp.git] / SL / DB / MetaSetup / CustomVariable.pm
1 # This file has been auto-generated. Do not modify it; it will be overwritten
2 # by rose_auto_create_model.pl automatically.
3 package SL::DB::CustomVariable;
4
5 use strict;
6
7 use base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->setup(
10   table   => 'custom_variables',
11
12   columns => [
13     id              => { type => 'integer', not_null => 1, sequence => 'custom_variables_id' },
14     config_id       => { type => 'integer', not_null => 1 },
15     trans_id        => { type => 'integer', not_null => 1 },
16     bool_value      => { type => 'boolean' },
17     timestamp_value => { type => 'timestamp' },
18     text_value      => { type => 'text' },
19     number_value    => { type => 'numeric', precision => 5, scale => 25 },
20     itime           => { type => 'timestamp', default => 'now()' },
21     mtime           => { type => 'timestamp' },
22     sub_module      => { type => 'text' },
23   ],
24
25   primary_key_columns => [ 'id' ],
26
27   allow_inline_column_values => 1,
28
29   foreign_keys => [
30     config => {
31       class       => 'SL::DB::CustomVariableConfig',
32       key_columns => { config_id => 'id' },
33     },
34   ],
35 );
36
37 1;
38 ;