Pflichtenheft-Angebot/Auftrag: DB-Schema & Models
[kivitendo-erp.git] / SL / DB / MetaSetup / Default.pm
index c8f4ed4..5b547ef 100644 (file)
@@ -69,6 +69,7 @@ __PACKAGE__->meta->columns(
   purchase_order_show_delete                    => { type => 'boolean', default => 'true' },
   requirement_spec_function_block_number_format => { type => 'text', default => 'FB000', not_null => 1 },
   requirement_spec_section_number_format        => { type => 'text', default => 'A00', not_null => 1 },
+  requirement_spec_section_order_part_id        => { type => 'integer' },
   revtrans                                      => { type => 'boolean', default => 'false' },
   rfqnumber                                     => { type => 'text' },
   rmanumber                                     => { type => 'text' },
@@ -117,6 +118,11 @@ __PACKAGE__->meta->foreign_keys(
     key_columns => { currency_id => 'id' },
   },
 
+  requirement_spec_section_order_part => {
+    class       => 'SL::DB::Part',
+    key_columns => { requirement_spec_section_order_part_id => 'id' },
+  },
+
   warehouse => {
     class       => 'SL::DB::Warehouse',
     key_columns => { warehouse_id => 'id' },