X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d17e1b9d1b761bb19d0cb79a742ea70a07028998..35bd55ae9e1249e11f18ebb6580a7037acdf8087:/SL/DB/MetaSetup/RequirementSpecTextBlock.pm diff --git a/SL/DB/MetaSetup/RequirementSpecTextBlock.pm b/SL/DB/MetaSetup/RequirementSpecTextBlock.pm index adb203e71..426fac092 100644 --- a/SL/DB/MetaSetup/RequirementSpecTextBlock.pm +++ b/SL/DB/MetaSetup/RequirementSpecTextBlock.pm @@ -18,11 +18,19 @@ __PACKAGE__->meta->setup( output_position => { type => 'integer', default => 1, not_null => 1 }, itime => { type => 'timestamp', default => 'now()', not_null => 1 }, mtime => { type => 'timestamp' }, + is_flagged => { type => 'boolean', default => 'false', not_null => 1 }, ], primary_key_columns => [ 'id' ], allow_inline_column_values => 1, + + foreign_keys => [ + requirement_spec => { + class => 'SL::DB::RequirementSpec', + key_columns => { requirement_spec_id => 'id' }, + }, + ], ); 1;