{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_delete => "SET NULL",
+ on_update => "SET NULL",
},
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VLEuOBmnS+xgk7LXAqxtLw
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jUiCeLLPg5228rNEBW0w2g
# You can replace this text with custom content, and it will be preserved on regeneration
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
+ on_delete => "RESTRICT",
on_update => "CASCADE",
},
);
"booksellerid",
"Koha::Schema::Result::Aqbookseller",
{ id => "booksellerid" },
- { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+ { is_deferrable => 1, on_delete => "RESTRICT", on_update => "CASCADE" },
);
=head2 branch
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
+ on_delete => "SET NULL",
on_update => "CASCADE",
},
);
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_delete => "RESTRICT",
+ on_update => "RESTRICT",
},
);
__PACKAGE__->many_to_many("borrowernumbers", "aqbasketusers", "borrowernumber");
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-31 16:31:18
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TCssMGPEqtE0MZ5INCufoA
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pT+YFf9nfD/dmBuE4RNCFw
# You can replace this text with custom content, and it will be preserved on regeneration
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
+ on_delete => "SET NULL",
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:nV0lYm2w4xX8cwVmTVF3YQ
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3se4f767VfvBKaZ8tlXwHQ
# You can replace this text with custom content, and it will be preserved on regeneration
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
+ on_delete => "SET NULL",
on_update => "CASCADE",
},
);
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
+ on_delete => "SET NULL",
on_update => "CASCADE",
},
);
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2014-04-19 15:25:43
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XGQHKw2/pml/kFe89vbvXw
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:u5KHnXS5hMmqpqufIEkPig
# You can replace this text with custom content, and it will be preserved on regeneration
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
+ on_delete => "SET NULL",
on_update => "CASCADE",
},
);
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
+ on_delete => "SET NULL",
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:1WX3cQyoYmNmPed+OqdUNA
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Z6+vESlzZKjZloNvrEHpxA
# You can replace this text with custom code or comments, and it will be preserved on regeneration
is_deferrable => 1,
join_type => "LEFT",
on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_update => "RESTRICT",
},
);
is_deferrable => 1,
join_type => "LEFT",
on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_update => "RESTRICT",
},
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:k6hCbzMVZ1VRsubvdrZMYQ
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FlVw5Eu4bXF2ygD0QkwwCg
# You can replace this text with custom content, and it will be preserved on regeneration
"branchcode",
"Koha::Schema::Result::Branch",
{ branchcode => "branchcode" },
- { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+ { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
);
=head2 categorycode
"categorycode",
"Koha::Schema::Result::Category",
{ categorycode => "categorycode" },
- { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+ { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
);
=head2 course_instructors
__PACKAGE__->many_to_many("courses", "course_instructors", "course");
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-31 16:31:19
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:z4kW3xYX1CyrwvGdZu32nA
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5cfpOojccKCoVRMj+0mWHg
# You can replace this text with custom content, and it will be preserved on regeneration
is_deferrable => 1,
join_type => "LEFT",
on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_update => "RESTRICT",
},
);
is_deferrable => 1,
join_type => "LEFT",
on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_update => "RESTRICT",
},
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/ppDBtfKZvUNcERWFbLuuw
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MA/VDd/K/RTgZ9TLy0K1gw
# You can replace this text with custom content, and it will be preserved on regeneration
is_deferrable => 1,
join_type => "LEFT",
on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_update => "RESTRICT",
},
);
is_deferrable => 1,
join_type => "LEFT",
on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_update => "RESTRICT",
},
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9fXKFDUQsOx+uqF+slRhSw
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5NpXKN72zzNcHauiDZfdEA
# You can replace this text with custom content, and it will be preserved on regeneration
"class_sort_rule",
"Koha::Schema::Result::ClassSortRule",
{ class_sort_rule => "class_sort_rule" },
- { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+ { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OPkfouKUejU6oCgy58yt6Q
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2O58Q7wdbfAl6xmiW02PAA
# You can replace this text with custom content, and it will be preserved on regeneration
--- /dev/null
+use utf8;
+package Koha::Schema::Result::CollectionsTracking;
+
+# Created by DBIx::Class::Schema::Loader
+# DO NOT MODIFY THE FIRST PART OF THIS FILE
+
+=head1 NAME
+
+Koha::Schema::Result::CollectionsTracking
+
+=cut
+
+use strict;
+use warnings;
+
+use base 'DBIx::Class::Core';
+
+=head1 TABLE: C<collections_tracking>
+
+=cut
+
+__PACKAGE__->table("collections_tracking");
+
+=head1 ACCESSORS
+
+=head2 collections_tracking_id
+
+ data_type: 'integer'
+ is_auto_increment: 1
+ is_nullable: 0
+
+=head2 colid
+
+ data_type: 'integer'
+ default_value: 0
+ is_nullable: 0
+
+collections.colId
+
+=head2 itemnumber
+
+ data_type: 'integer'
+ default_value: 0
+ is_nullable: 0
+
+items.itemnumber
+
+=cut
+
+__PACKAGE__->add_columns(
+ "collections_tracking_id",
+ { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
+ "colid",
+ { data_type => "integer", default_value => 0, is_nullable => 0 },
+ "itemnumber",
+ { data_type => "integer", default_value => 0, is_nullable => 0 },
+);
+
+=head1 PRIMARY KEY
+
+=over 4
+
+=item * L</collections_tracking_id>
+
+=back
+
+=cut
+
+__PACKAGE__->set_primary_key("collections_tracking_id");
+
+
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aV5bgiXNrskXo+q+WLuwPg
+
+
+# You can replace this text with custom code or comments, and it will be preserved on regeneration
+1;
"course",
"Koha::Schema::Result::Course",
{ course_id => "course_id" },
- { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+ { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dIemqF/uRWLNN4IMCHZxRA
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7vP3bJ0YA6LEepYOaNg++A
# You can replace this text with custom content, and it will be preserved on regeneration
"course",
"Koha::Schema::Result::Course",
{ course_id => "course_id" },
- { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+ { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9KuuUyFReuw+PAlLW84yXQ
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SSTJhsNOuUlxr/CsDs08pQ
# You can replace this text with custom content, and it will be preserved on regeneration
"branch_code",
"Koha::Schema::Result::Branch",
{ branchcode => "branch_code" },
- { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+ { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
);
=head2 item_number
is_deferrable => 1,
join_type => "LEFT",
on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_update => "RESTRICT",
},
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:w5Nfrm8a8ajsC0bLBACaWg
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:x9PaYKzfg8jT6zFP4IwhBA
# You can replace this text with custom content, and it will be preserved on regeneration
{ cascade_copy => 0, cascade_delete => 0 },
);
-=head2 import_records_matches
+=head2 import_record_matches
Type: has_many
-Related object: L<Koha::Schema::Result::ImportRecordMatches>
+Related object: L<Koha::Schema::Result::ImportRecordMatch>
=cut
__PACKAGE__->has_many(
- "import_records_matches",
- "Koha::Schema::Result::ImportRecordMatches",
+ "import_record_matches",
+ "Koha::Schema::Result::ImportRecordMatch",
{ "foreign.import_record_id" => "self.import_record_id" },
{ cascade_copy => 0, cascade_delete => 0 },
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:e71umJ0QmfPBvlxmzbClng
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jhzXlqw5mA1lGsI9SZEv/Q
# You can replace this text with custom content, and it will be preserved on regeneration
--- /dev/null
+use utf8;
+package Koha::Schema::Result::ImportRecordMatch;
+
+# Created by DBIx::Class::Schema::Loader
+# DO NOT MODIFY THE FIRST PART OF THIS FILE
+
+=head1 NAME
+
+Koha::Schema::Result::ImportRecordMatch
+
+=cut
+
+use strict;
+use warnings;
+
+use base 'DBIx::Class::Core';
+
+=head1 TABLE: C<import_record_matches>
+
+=cut
+
+__PACKAGE__->table("import_record_matches");
+
+=head1 ACCESSORS
+
+=head2 import_record_id
+
+ data_type: 'integer'
+ is_foreign_key: 1
+ is_nullable: 0
+
+=head2 candidate_match_id
+
+ data_type: 'integer'
+ is_nullable: 0
+
+=head2 score
+
+ data_type: 'integer'
+ default_value: 0
+ is_nullable: 0
+
+=cut
+
+__PACKAGE__->add_columns(
+ "import_record_id",
+ { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
+ "candidate_match_id",
+ { data_type => "integer", is_nullable => 0 },
+ "score",
+ { data_type => "integer", default_value => 0, is_nullable => 0 },
+);
+
+=head1 RELATIONS
+
+=head2 import_record
+
+Type: belongs_to
+
+Related object: L<Koha::Schema::Result::ImportRecord>
+
+=cut
+
+__PACKAGE__->belongs_to(
+ "import_record",
+ "Koha::Schema::Result::ImportRecord",
+ { import_record_id => "import_record_id" },
+ { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+);
+
+
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hJW36EeP+H8+0/Ij3iuIFw
+
+
+# You can replace this text with custom code or comments, and it will be preserved on regeneration
+1;
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
+ on_delete => "RESTRICT",
on_update => "CASCADE",
},
);
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
+ on_delete => "RESTRICT",
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:ZEh31EKBmURMKxDxI+H3EA
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2SJJ3az4Ml9hKEQvNH3+Kw
__PACKAGE__->belongs_to(
"borrower",
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
+ on_delete => "RESTRICT",
on_update => "CASCADE",
},
);
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
+ on_delete => "RESTRICT",
on_update => "CASCADE",
},
);
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-12-19 06:29:02
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:h6fPG62SifJ5T8QKPZNBBw
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Rc89LTrsDtt8Y6yXVUdhMA
__PACKAGE__->belongs_to(
"biblio",
"message_transport_type",
"Koha::Schema::Result::MessageTransportType",
{ message_transport_type => "message_transport_type" },
- { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+ { is_deferrable => 1, on_delete => "RESTRICT", 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:+gmGYPCtwCYKHAzfd9xByQ
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YWxM2O2W/h34qqIOIpzOtw
# You can replace this text with custom content, and it will be preserved on regeneration
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_delete => "SET NULL",
+ on_update => "SET NULL",
},
);
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_delete => "SET NULL",
+ on_update => "SET NULL",
},
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uPOxNROoMMRZ0qZsXsxEjA
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sgsDHihVYHrTycbaqoGbaQ
# You can replace this text with custom content, and it will be preserved on regeneration
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_delete => "SET NULL",
+ on_update => "SET NULL",
},
);
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_delete => "SET NULL",
+ on_update => "SET NULL",
},
);
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_delete => "SET NULL",
+ on_update => "SET NULL",
},
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:g/WiYGPOyzJGtMWiAHvIxA
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CMfQmK2sJxQB0FBb0X12ug
# You can replace this text with custom content, and it will be preserved on regeneration
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
+ on_delete => "SET NULL",
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:/gg7wEkOzJ7yI3UXoDcQKA
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:u+R08bCdVQA697aPo9zEUA
# You can replace this text with custom content, and it will be preserved on regeneration
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
+ on_delete => "SET NULL",
on_update => "CASCADE",
},
);
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
+ on_delete => "SET NULL",
on_update => "CASCADE",
},
);
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-30 02:42:01
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JoTdms86n/xfPo8YUnDHUQ
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:57kc1/B3eNKQXAk9tlOy0A
# You can replace this text with custom content, and it will be preserved on regeneration
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_delete => "SET NULL",
+ on_update => "SET NULL",
},
);
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nhcu0n7BoSNsoY76SYSYFw
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ie3Gx+/HthZQ/4fHjcPF0w
# You can replace this text with custom content, and it will be preserved on regeneration
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_delete => "SET NULL",
+ on_update => "SET NULL",
},
);
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Eu/4NPwsXI+UMs5QWVsUmA
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gle9hUqefRoNSilv0gFc1w
# You can replace this text with custom content, and it will be preserved on regeneration
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "CASCADE",
- on_update => "CASCADE",
+ on_delete => "SET NULL",
+ on_update => "SET NULL",
},
);
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WdBpWgSdrE0l13vKgDRcGg
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xRDCzpS+CXPdp4Mlp2WP6A
# You can replace this text with custom content, and it will be preserved on regeneration
data_type: 'enum'
default_value: 'primary'
- extra: {list => ["primary","secondary"]}
+ extra: {list => ["primary","secondary",""]}
is_nullable: 0
=head2 type
{
data_type => "enum",
default_value => "primary",
- extra => { list => ["primary", "secondary"] },
+ extra => { list => ["primary", "secondary", ""] },
is_nullable => 0,
},
"type",
__PACKAGE__->set_primary_key("id");
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j/AgGQDMyR5wm1wooSYYDw
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BA+II2AVWOTLfgbko1GAOA
# You can replace this text with custom content, and it will be preserved on regeneration