]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/AuthUser.pm
RDBO-Models für die Klassen im auth-Schema
[kivitendo-erp.git] / SL / DB / MetaSetup / AuthUser.pm
diff --git a/SL/DB/MetaSetup/AuthUser.pm b/SL/DB/MetaSetup/AuthUser.pm
new file mode 100644 (file)
index 0000000..04bc23e
--- /dev/null
@@ -0,0 +1,24 @@
+# This file has been auto-generated. Do not modify it; it will be overwritten
+# by rose_auto_create_model.pl automatically.
+package SL::DB::AuthUser;
+
+use strict;
+
+use base qw(SL::DB::Object);
+
+__PACKAGE__->meta->setup(
+  table   => 'user',
+
+  columns => [
+    id       => { type => 'serial', not_null => 1 },
+    login    => { type => 'text', not_null => 1 },
+    password => { type => 'text' },
+  ],
+
+  primary_key_columns => [ 'id' ],
+
+  unique_key => [ 'login' ],
+);
+
+1;
+;