Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 93787f77

Von Sven Schöling vor mehr als 11 Jahren hinzugefügt

  • ID 93787f77f19ff64df53a6877b7f732b74eab1606
  • Vorgänger e237d75a
  • Nachfolger a84958db

Metasetup für taykeys aus tax_constraints.pl

Unterschiede anzeigen:

SL/DB/MetaSetup/TaxKey.pm
11 11

  
12 12
  columns => [
13 13
    id        => { type => 'integer', not_null => 1, sequence => 'id' },
14
    chart_id  => { type => 'integer' },
15
    tax_id    => { type => 'integer' },
16
    taxkey_id => { type => 'integer' },
14
    chart_id  => { type => 'integer', not_null => 1 },
15
    tax_id    => { type => 'integer', not_null => 1 },
16
    taxkey_id => { type => 'integer', not_null => 1 },
17 17
    pos_ustva => { type => 'integer' },
18
    startdate => { type => 'date' },
18
    startdate => { type => 'date', not_null => 1 },
19 19
  ],
20 20

  
21 21
  primary_key_columns => [ 'id' ],
22 22

  
23
  unique_key => [ 'chart_id', 'startdate' ],
24

  
23 25
  foreign_keys => [
26
    chart => {
27
      class       => 'SL::DB::Chart',
28
      key_columns => { chart_id => 'id' },
29
    },
30

  
24 31
    tax => {
25 32
      class       => 'SL::DB::Tax',
26 33
      key_columns => { tax_id => 'id' },

Auch abrufbar als: Unified diff