__PACKAGE__->set_primary_key("id");
__PACKAGE__->add_unique_constraint( "name", [ "nachname", "vorname", "mittelname", "name_suffix" ] );
-
-# Created by DBIx::Class::Schema::Loader v0.04004 @ 2008-03-17 17:53:52
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QwPjYKNwUnR5b418xxulDg
-
+__PACKAGE__->has_many( 'autor_buch' => 'FrBr::Books::Db::Autor2Buch', { 'foreign.autor_id' => 'self.id' } );
+__PACKAGE__->many_to_many( 'buecher' => 'autor_buch', 'buch' );
# You can replace this text with custom content, and it will be preserved on regeneration
1;
__PACKAGE__->might_have( 'ort' => 'FrBr::Books::Db::Orte', { 'foreign.id' => 'self.orts_id' } );
__PACKAGE__->might_have( 'bindungsart' => 'FrBr::Books::Db::Bindungsarten', { 'foreign.id' => 'self.bindungsart_id' } );
-# Created by DBIx::Class::Schema::Loader v0.04004 @ 2008-03-17 17:53:52
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GjY80NXBYER1XlWgPukp+A
+__PACKAGE__->has_many( 'autor_buch' => 'FrBr::Books::Db::Autor2Buch', { 'foreign.buch_id' => 'self.id' } );
+__PACKAGE__->many_to_many( 'autoren' => 'autor_buch', 'autor' );
-
-# You can replace this text with custom content, and it will be preserved on regeneration
1;
__END__
--- /dev/null
+package FrBr::Books::Db::UserAdd;
+
+# $Id$
+# $URL$
+
+use strict;
+use warnings;
+
+use base 'DBIx::Class';
+
+__PACKAGE__->load_components("Core");
+__PACKAGE__->table("user_add");
+__PACKAGE__->add_columns(
+ "user_id" => { data_type => "INT", default_value => undef, is_nullable => 0, size => 10 },
+ "comments" => { data_type => "TEXT", default_value => undef, is_nullable => 0, size => 65535, },
+);
+__PACKAGE__->set_primary_key("user_id");
+
+__PACKAGE__->might_have( 'user' => 'FrBr::Books::Db::Users', { 'foreign.user_id' => 'self.user_id' } );
+
+# You can replace this text with custom content, and it will be preserved on regeneration
+1;
+
+__END__
+
+# vim: noai : ts=4 fenc=utf-8 filetype=perl expandtab :
"deleted" => { data_type => "ENUM", default_value => "n", is_nullable => 0, size => 1 },
"enabled" => { data_type => "ENUM", default_value => "y", is_nullable => 0, size => 1 },
"admin_status" => { data_type => "ENUM", default_value => "n", is_nullable => 0, size => 1 },
- "comments" => { data_type => "TEXT", default_value => undef, is_nullable => 0, size => 65535, },
);
__PACKAGE__->set_primary_key("user_id");
__PACKAGE__->add_unique_constraint("login", ["login"]);