use utf8; package My::Mailserver::Schema::Result::ManagersDomain; # Created by DBIx::Class::Schema::Loader # DO NOT MODIFY THE FIRST PART OF THIS FILE =head1 NAME My::Mailserver::Schema::Result::ManagersDomain =cut use strict; use warnings; use base 'DBIx::Class::Core'; =head1 TABLE: C =cut __PACKAGE__->table("managers_domains"); =head1 ACCESSORS =head2 domain_id data_type: 'integer' is_foreign_key: 1 is_nullable: 0 =head2 manager_id data_type: 'integer' is_foreign_key: 1 is_nullable: 0 =cut __PACKAGE__->add_columns( "domain_id", { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, "manager_id", { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, ); =head1 PRIMARY KEY =over 4 =item * L =item * L =back =cut __PACKAGE__->set_primary_key("domain_id", "manager_id"); =head1 RELATIONS =head2 domain Type: belongs_to Related object: L =cut __PACKAGE__->belongs_to( "domain", "My::Mailserver::Schema::Result::VirtualDomain", { id => "domain_id" }, { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" }, ); =head2 manager Type: belongs_to Related object: L =cut __PACKAGE__->belongs_to( "manager", "My::Mailserver::Schema::Result::VirtualUser", { id => "manager_id" }, { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" }, ); # Created by DBIx::Class::Schema::Loader v0.07049 @ 2019-06-17 02:39:38 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:N9hivlqaxQB72BI7BH9tZA # You can replace this text with custom code or comments, and it will be preserved on regeneration 1;