data_type: 'tinyint'
is_nullable: 1
-=head2 archived
-
- data_type: 'tinyint'
- default_value: 0
- is_nullable: 1
-
=cut
__PACKAGE__->add_columns(
{ data_type => "float", is_nullable => 1, size => [15, 5] },
"active",
{ data_type => "tinyint", is_nullable => 1 },
- "archived",
- { data_type => "tinyint", default_value => 0, is_nullable => 1 },
);
=head1 PRIMARY KEY
{ cascade_copy => 0, cascade_delete => 0 },
);
-=head2 aqorders
-
-Type: has_many
-
-Related object: L<Koha::Schema::Result::Aqorder>
-
-=cut
-
-__PACKAGE__->has_many(
- "aqorders",
- "Koha::Schema::Result::Aqorder",
- { "foreign.currency" => "self.currency" },
- { cascade_copy => 0, cascade_delete => 0 },
-);
-
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-12-17 10:57:24
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:B9JY/pDkp8icT7m0xDDKAA
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-04 19:32:39
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:o9IAcoQ0uxMdl0zZ0M0agw
# You can replace this text with custom content, and it will be preserved on regeneration
data_type: 'varchar'
is_nullable: 1
- size: 30
+ size: 60
=head2 flags
data_type: 'varchar'
is_nullable: 1
- size: 30
+ size: 75
=head2 opacnote
"sex",
{ data_type => "varchar", is_nullable => 1, size => 1 },
"password",
- { data_type => "varchar", is_nullable => 1, size => 30 },
+ { data_type => "varchar", is_nullable => 1, size => 60 },
"flags",
{ data_type => "integer", is_nullable => 1 },
"userid",
- { data_type => "varchar", is_nullable => 1, size => 30 },
+ { data_type => "varchar", is_nullable => 1, size => 75 },
"opacnote",
{ data_type => "mediumtext", is_nullable => 1 },
"contactnote",
);
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-02-14 12:46:14
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UvGAnZ1qOwgtmLpbG8ukow
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-04 19:32:39
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UqTaMlpDnOWlhfQyF5EjHA
# You can replace this text with custom code or comments, and it will be preserved on regeneration
is_nullable: 1
size: 32
+=head2 new
+
+ accessor: undef
+ data_type: 'varchar'
+ is_nullable: 1
+ size: 32
+
=cut
__PACKAGE__->add_columns(
{ data_type => "varchar", is_nullable => 1, size => 32 },
"stocknumber",
{ data_type => "varchar", is_nullable => 1, size => 32 },
+ "new",
+ { accessor => undef, data_type => "varchar", is_nullable => 1, size => 32 },
);
=head1 PRIMARY KEY
__PACKAGE__->set_primary_key("itemnumber");
-# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-04-23 12:42:12
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+aDMnEj1EvLQTQPAEl1ocg
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-04 19:32:39
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uu6dMCUUlDOkveF9SYkKew
# You can replace this text with custom content, and it will be preserved on regeneration
is_nullable: 1
size: 32
+=head2 new
+
+ accessor: undef
+ data_type: 'varchar'
+ is_nullable: 1
+ size: 32
+
=cut
__PACKAGE__->add_columns(
{ data_type => "varchar", is_nullable => 1, size => 32 },
"stocknumber",
{ data_type => "varchar", is_nullable => 1, size => 32 },
+ "new",
+ { accessor => undef, data_type => "varchar", is_nullable => 1, size => 32 },
);
=head1 PRIMARY KEY
);
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-01-06 12:00:28
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3M6BvB4ATsBXgQCkFKuI3A
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-04 19:32:39
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rhW0Ddhh2hLoV//7nonLCA
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
data_type: 'integer'
is_foreign_key: 1
- is_nullable: 0
+ is_nullable: 1
=head2 biblionumber
"tag_id",
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
"borrowernumber",
- { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
+ { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
"biblionumber",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
"term",
"borrowernumber",
"Koha::Schema::Result::Borrower",
{ borrowernumber => "borrowernumber" },
- { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+ {
+ is_deferrable => 1,
+ join_type => "LEFT",
+ 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:xhJn9d2lS8crFWog28ENnw
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-04 19:32:39
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gyjzwAoUL27c/7NqM8+RaA
# 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:TcnMQQTB5F8hjyLoJ7VBHQ
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-04 19:32:39
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:V6O4TG3vfkRovbGgNP3HmA
# You can replace this text with custom content, and it will be preserved on regeneration