fc3638102957321c8858a9aa6d21aa03d0bfac55
[kivitendo-erp.git] / SL / DB / MetaSetup / AuthSessionContent.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::AuthSessionContent;
4
5 use strict;
6
7 use parent qw(SL::DB::Object);
8
9 __PACKAGE__->meta->table('session_content');
10 __PACKAGE__->meta->schema('auth');
11
12 __PACKAGE__->meta->columns(
13   auto_restore => { type => 'boolean' },
14   sess_key     => { type => 'text', not_null => 1 },
15   sess_value   => { type => 'text' },
16   session_id   => { type => 'text', not_null => 1 },
17 );
18
19 __PACKAGE__->meta->primary_key_columns([ 'session_id', 'sess_key' ]);
20
21 __PACKAGE__->meta->foreign_keys(
22   session => {
23     class       => 'SL::DB::AuthSession',
24     key_columns => { session_id => 'id' },
25   },
26 );
27
28 1;
29 ;