]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/RequirementSpecTextBlock.pm
Pflichtenhefte: Datenbankschema und Rose-DB-Models
[kivitendo-erp.git] / SL / DB / MetaSetup / RequirementSpecTextBlock.pm
diff --git a/SL/DB/MetaSetup/RequirementSpecTextBlock.pm b/SL/DB/MetaSetup/RequirementSpecTextBlock.pm
new file mode 100644 (file)
index 0000000..adb203e
--- /dev/null
@@ -0,0 +1,29 @@
+# This file has been auto-generated. Do not modify it; it will be overwritten
+# by rose_auto_create_model.pl automatically.
+package SL::DB::RequirementSpecTextBlock;
+
+use strict;
+
+use base qw(SL::DB::Object);
+
+__PACKAGE__->meta->setup(
+  table   => 'requirement_spec_text_blocks',
+
+  columns => [
+    id                  => { type => 'serial', not_null => 1 },
+    requirement_spec_id => { type => 'integer', not_null => 1 },
+    title               => { type => 'text', not_null => 1 },
+    text                => { type => 'text' },
+    position            => { type => 'integer', not_null => 1 },
+    output_position     => { type => 'integer', default => 1, not_null => 1 },
+    itime               => { type => 'timestamp', default => 'now()', not_null => 1 },
+    mtime               => { type => 'timestamp' },
+  ],
+
+  primary_key_columns => [ 'id' ],
+
+  allow_inline_column_values => 1,
+);
+
+1;
+;