RDBO Normalisierung Part 2
[kivitendo-erp.git] / SL / DB / MetaSetup / MakeModel.pm
diff --git a/SL/DB/MetaSetup/MakeModel.pm b/SL/DB/MetaSetup/MakeModel.pm
new file mode 100644 (file)
index 0000000..cc0ae7f
--- /dev/null
@@ -0,0 +1,27 @@
+# This file has been auto-generated. Do not modify it; it will be overwritten
+# by rose_auto_create_model.pl automatically.
+package SL::DB::MakeModel;
+
+use strict;
+
+use base qw(SL::DB::Object);
+
+__PACKAGE__->meta->setup(
+  table   => 'makemodel',
+
+  columns => [
+    parts_id => { type => 'integer' },
+    model    => { type => 'text' },
+    itime    => { type => 'timestamp', default => 'now()' },
+    mtime    => { type => 'timestamp' },
+    make     => { type => 'integer' },
+    id       => { type => 'serial', not_null => 1 },
+  ],
+
+  primary_key_columns => [ 'id' ],
+
+  allow_inline_column_values => 1,
+);
+
+1;
+;