data_type: 'varchar'
default_value: (empty string)
+ is_foreign_key: 1
is_nullable: 0
size: 10
__PACKAGE__->add_columns(
"authtypecode",
- { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
+ {
+ data_type => "varchar",
+ default_value => "",
+ is_foreign_key => 1,
+ is_nullable => 0,
+ size => 10,
+ },
"tagfield",
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 3 },
"tagsubfield",
__PACKAGE__->set_primary_key("authtypecode", "tagfield", "tagsubfield");
+=head1 RELATIONS
+
+=head2 authtypecode
+
+Type: belongs_to
+
+Related object: L<Koha::Schema::Result::AuthType>
+
+=cut
+
+__PACKAGE__->belongs_to(
+ "authtypecode",
+ "Koha::Schema::Result::AuthType",
+ { authtypecode => "authtypecode" },
+ { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+);
+
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:24BKrmX1lug68+rmXE1riA
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-05-18 11:22:30
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ymm26DwMwBskOjIj1qhWFA
# You can replace this text with custom content, and it will be preserved on regeneration