Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 98625cb1

Von Kivitendo Admin vor mehr als 8 Jahren hinzugefügt

  • ID 98625cb1c671bf300ce92c1b693a8881af29e659
  • Vorgänger 8aea132f
  • Nachfolger 10348b51

Rose Dateien für Tabelle user_preferences

Unterschiede anzeigen:

SL/DB/Helper/ALL.pm
121 121
use SL::DB::TriggerInformation;
122 122
use SL::DB::Unit;
123 123
use SL::DB::UnitsLanguage;
124
use SL::DB::UserPreference;
124 125
use SL::DB::VC;
125 126
use SL::DB::Vendor;
126 127
use SL::DB::Warehouse;
SL/DB/Helper/Mappings.pm
201 201
  trigger_information            => 'trigger_information',
202 202
  units                          => 'unit',
203 203
  units_language                 => 'units_language',
204
  user_preferences               => 'user_preference',
204 205
  vendor                         => 'vendor',
205 206
  warehouse                      => 'warehouse',
206 207
);
SL/DB/Manager/UserPreference.pm
1
# This file has been auto-generated only because it didn't exist.
2
# Feel free to modify it at will; it will not be overwritten automatically.
3

  
4
package SL::DB::Manager::UserPreference;
5

  
6
use strict;
7

  
8
use parent qw(SL::DB::Helper::Manager);
9

  
10
sub object_class { 'SL::DB::UserPreference' }
11

  
12
__PACKAGE__->make_manager_methods;
13

  
14
1;
SL/DB/MetaSetup/UserPreference.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::UserPreference;
4

  
5
use strict;
6

  
7
use parent qw(SL::DB::Object);
8

  
9
__PACKAGE__->meta->table('user_preferences');
10

  
11
__PACKAGE__->meta->columns(
12
  id        => { type => 'serial', not_null => 1 },
13
  key       => { type => 'text', not_null => 1 },
14
  login     => { type => 'text', not_null => 1 },
15
  namespace => { type => 'text', not_null => 1 },
16
  value     => { type => 'text' },
17
  version   => { type => 'numeric', precision => 15, scale => 5 },
18
);
19

  
20
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
21

  
22
__PACKAGE__->meta->unique_keys([ 'login', 'namespace', 'version', 'key' ]);
23

  
24
1;
25
;
SL/DB/UserPreference.pm
1
# This file has been auto-generated only because it didn't exist.
2
# Feel free to modify it at will; it will not be overwritten automatically.
3

  
4
package SL::DB::UserPreference;
5

  
6
use strict;
7

  
8
use SL::DB::MetaSetup::UserPreference;
9
use SL::DB::Manager::UserPreference;
10

  
11
__PACKAGE__->meta->initialize;
12

  
13
1;

Auch abrufbar als: Unified diff