Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b35bf9ab

Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt

  • ID b35bf9ab655a13a851c7fbe12a9dc94a590dc9ee
  • Vorgänger 26892ad4
  • Nachfolger a72bd579

Rose-Model-Updates (Foreign keys, allow_inline_column_values) nach currencies-Einführung

Unterschiede anzeigen:

SL/DB/MetaSetup/Customer.pm
59 59

  
60 60
  primary_key_columns => [ 'id' ],
61 61

  
62
  allow_inline_column_values => 1,
63

  
62 64
  foreign_keys => [
63 65
    business => {
64 66
      class       => 'SL::DB::Business',
65 67
      key_columns => { business_id => 'id' },
66 68
    },
67 69

  
70
    currency => {
71
      class       => 'SL::DB::Currency',
72
      key_columns => { currency_id => 'id' },
73
    },
74

  
68 75
    language_obj => {
69 76
      class       => 'SL::DB::Language',
70 77
      key_columns => { language_id => 'id' },
SL/DB/MetaSetup/DeliveryOrder.pm
44 44

  
45 45
  primary_key_columns => [ 'id' ],
46 46

  
47
  allow_inline_column_values => 1,
48

  
47 49
  foreign_keys => [
48 50
    contact => {
49 51
      class       => 'SL::DB::Contact',
50 52
      key_columns => { cp_id => 'cp_id' },
51 53
    },
52 54

  
55
    currency => {
56
      class       => 'SL::DB::Currency',
57
      key_columns => { currency_id => 'id' },
58
    },
59

  
53 60
    customer => {
54 61
      class       => 'SL::DB::Customer',
55 62
      key_columns => { customer_id => 'id' },
SL/DB/MetaSetup/Exchangerate.pm
20 20
  ],
21 21

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

  
24
  allow_inline_column_values => 1,
25

  
26
  foreign_keys => [
27
    currency => {
28
      class       => 'SL::DB::Currency',
29
      key_columns => { currency_id => 'id' },
30
    },
31
  ],
23 32
);
24 33

  
25 34
1;
SL/DB/MetaSetup/Invoice.pm
61 61

  
62 62
  primary_key_columns => [ 'id' ],
63 63

  
64
  allow_inline_column_values => 1,
65

  
64 66
  foreign_keys => [
65 67
    contact => {
66 68
      class       => 'SL::DB::Contact',
67 69
      key_columns => { cp_id => 'cp_id' },
68 70
    },
69 71

  
72
    currency => {
73
      class       => 'SL::DB::Currency',
74
      key_columns => { currency_id => 'id' },
75
    },
76

  
70 77
    customer => {
71 78
      class       => 'SL::DB::Customer',
72 79
      key_columns => { customer_id => 'id' },
SL/DB/MetaSetup/Order.pm
50 50

  
51 51
  primary_key_columns => [ 'id' ],
52 52

  
53
  allow_inline_column_values => 1,
54

  
53 55
  foreign_keys => [
54 56
    contact => {
55 57
      class       => 'SL::DB::Contact',
56 58
      key_columns => { cp_id => 'cp_id' },
57 59
    },
58 60

  
61
    currency => {
62
      class       => 'SL::DB::Currency',
63
      key_columns => { currency_id => 'id' },
64
    },
65

  
59 66
    customer => {
60 67
      class       => 'SL::DB::Customer',
61 68
      key_columns => { customer_id => 'id' },
SL/DB/MetaSetup/PurchaseInvoice.pm
48 48

  
49 49
  primary_key_columns => [ 'id' ],
50 50

  
51
  allow_inline_column_values => 1,
52

  
51 53
  foreign_keys => [
52 54
    contact => {
53 55
      class       => 'SL::DB::Contact',
54 56
      key_columns => { cp_id => 'cp_id' },
55 57
    },
56 58

  
59
    currency => {
60
      class       => 'SL::DB::Currency',
61
      key_columns => { currency_id => 'id' },
62
    },
63

  
57 64
    department => {
58 65
      class       => 'SL::DB::Department',
59 66
      key_columns => { department_id => 'id' },
SL/DB/MetaSetup/Vendor.pm
57 57

  
58 58
  primary_key_columns => [ 'id' ],
59 59

  
60
  allow_inline_column_values => 1,
61

  
60 62
  foreign_keys => [
61 63
    business => {
62 64
      class       => 'SL::DB::Business',
63 65
      key_columns => { business_id => 'id' },
64 66
    },
65 67

  
68
    currency => {
69
      class       => 'SL::DB::Currency',
70
      key_columns => { currency_id => 'id' },
71
    },
72

  
66 73
    language_obj => {
67 74
      class       => 'SL::DB::Language',
68 75
      key_columns => { language_id => 'id' },

Auch abrufbar als: Unified diff