Bugzilla – Attachment 79108 Details for
Bug 16881
Apply KohaTable and ColVis plugin on MARCdetail's items table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16881: update schema file
Bug-16881-update-schema-file.patch (text/plain), 3.04 KB, created by
Alex Arnaud
on 2018-09-19 12:58:48 UTC
(
hide
)
Description:
Bug 16881: update schema file
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2018-09-19 12:58:48 UTC
Size:
3.04 KB
patch
obsolete
>From b14064c1987c1a1125549ccffecacc9e8256a6b4 Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Wed, 19 Sep 2018 12:56:04 +0000 >Subject: [PATCH] Bug 16881: update schema file > >--- > Koha/Schema/Result/UsersColumnsSetting.pm | 139 ++++++++++++++++++++++++++++++ > 1 file changed, 139 insertions(+) > create mode 100644 Koha/Schema/Result/UsersColumnsSetting.pm > >diff --git a/Koha/Schema/Result/UsersColumnsSetting.pm b/Koha/Schema/Result/UsersColumnsSetting.pm >new file mode 100644 >index 0000000..2acb8fb >--- /dev/null >+++ b/Koha/Schema/Result/UsersColumnsSetting.pm >@@ -0,0 +1,139 @@ >+use utf8; >+package Koha::Schema::Result::UsersColumnsSetting; >+ >+# Created by DBIx::Class::Schema::Loader >+# DO NOT MODIFY THE FIRST PART OF THIS FILE >+ >+=head1 NAME >+ >+Koha::Schema::Result::UsersColumnsSetting >+ >+=cut >+ >+use strict; >+use warnings; >+ >+use base 'DBIx::Class::Core'; >+ >+=head1 TABLE: C<users_columns_settings> >+ >+=cut >+ >+__PACKAGE__->table("users_columns_settings"); >+ >+=head1 ACCESSORS >+ >+=head2 borrowernumber >+ >+ data_type: 'integer' >+ is_foreign_key: 1 >+ is_nullable: 0 >+ >+=head2 module >+ >+ data_type: 'varchar' >+ is_nullable: 0 >+ size: 50 >+ >+=head2 page >+ >+ data_type: 'varchar' >+ is_nullable: 0 >+ size: 50 >+ >+=head2 tablename >+ >+ data_type: 'varchar' >+ is_nullable: 0 >+ size: 50 >+ >+=head2 additional_param >+ >+ data_type: 'varchar' >+ is_nullable: 0 >+ size: 255 >+ >+=head2 columnname >+ >+ data_type: 'varchar' >+ is_nullable: 0 >+ size: 50 >+ >+=head2 is_hidden >+ >+ data_type: 'integer' >+ default_value: 0 >+ is_nullable: 0 >+ >+=cut >+ >+__PACKAGE__->add_columns( >+ "borrowernumber", >+ { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, >+ "module", >+ { data_type => "varchar", is_nullable => 0, size => 50 }, >+ "page", >+ { data_type => "varchar", is_nullable => 0, size => 50 }, >+ "tablename", >+ { data_type => "varchar", is_nullable => 0, size => 50 }, >+ "additional_param", >+ { data_type => "varchar", is_nullable => 0, size => 255 }, >+ "columnname", >+ { data_type => "varchar", is_nullable => 0, size => 50 }, >+ "is_hidden", >+ { data_type => "integer", default_value => 0, is_nullable => 0 }, >+); >+ >+=head1 PRIMARY KEY >+ >+=over 4 >+ >+=item * L</borrowernumber> >+ >+=item * L</module> >+ >+=item * L</page> >+ >+=item * L</tablename> >+ >+=item * L</columnname> >+ >+=item * L</additional_param> >+ >+=back >+ >+=cut >+ >+__PACKAGE__->set_primary_key( >+ "borrowernumber", >+ "module", >+ "page", >+ "tablename", >+ "columnname", >+ "additional_param", >+); >+ >+=head1 RELATIONS >+ >+=head2 borrowernumber >+ >+Type: belongs_to >+ >+Related object: L<Koha::Schema::Result::Borrower> >+ >+=cut >+ >+__PACKAGE__->belongs_to( >+ "borrowernumber", >+ "Koha::Schema::Result::Borrower", >+ { borrowernumber => "borrowernumber" }, >+ { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, >+); >+ >+ >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-09-19 06:48:44 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bZsyJuDZrtJmcGa/vv4Ngg >+ >+ >+# You can replace this text with custom code or comments, and it will be preserved on regeneration >+1; >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16881
:
53226
|
53303
|
53510
|
59566
|
59567
|
79107
| 79108