]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/MetaSetup/RequirementSpec.pm
Pflichtenheft -> Angebot: Langtext per Default aus Abschnittsbeschreibung setzen
[mfinanz.git] / SL / DB / MetaSetup / RequirementSpec.pm
index 797137afedb04cadd5b4e14aa594d45f429538a9..c13400c23f1bed6711647aa94c5c17c973aa6d49 100644 (file)
@@ -16,13 +16,13 @@ __PACKAGE__->meta->columns(
   itime                   => { type => 'timestamp', default => 'now()' },
   mtime                   => { type => 'timestamp' },
   previous_fb_number      => { type => 'integer', not_null => 1 },
   itime                   => { type => 'timestamp', default => 'now()' },
   mtime                   => { type => 'timestamp' },
   previous_fb_number      => { type => 'integer', not_null => 1 },
+  previous_picture_number => { type => 'integer', default => '0', not_null => 1 },
   previous_section_number => { type => 'integer', not_null => 1 },
   project_id              => { type => 'integer' },
   status_id               => { type => 'integer' },
   time_estimation         => { type => 'numeric', default => '0', not_null => 1, precision => 2, scale => 12 },
   title                   => { type => 'text', not_null => 1 },
   type_id                 => { type => 'integer' },
   previous_section_number => { type => 'integer', not_null => 1 },
   project_id              => { type => 'integer' },
   status_id               => { type => 'integer' },
   time_estimation         => { type => 'numeric', default => '0', not_null => 1, precision => 2, scale => 12 },
   title                   => { type => 'text', not_null => 1 },
   type_id                 => { type => 'integer' },
-  version_id              => { type => 'integer' },
   working_copy_id         => { type => 'integer' },
 );
 
   working_copy_id         => { type => 'integer' },
 );
 
@@ -51,11 +51,6 @@ __PACKAGE__->meta->foreign_keys(
     key_columns => { type_id => 'id' },
   },
 
     key_columns => { type_id => 'id' },
   },
 
-  version => {
-    class       => 'SL::DB::RequirementSpecVersion',
-    key_columns => { version_id => 'id' },
-  },
-
   working_copy => {
     class       => 'SL::DB::RequirementSpec',
     key_columns => { working_copy_id => 'id' },
   working_copy => {
     class       => 'SL::DB::RequirementSpec',
     key_columns => { working_copy_id => 'id' },