Bug 24156: DBIC changes
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 5 Dec 2019 16:13:50 +0000 (17:13 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 25 Jun 2020 08:51:59 +0000 (10:51 +0200)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Koha/Schema/Result/ColumnsSetting.pm
Koha/Schema/Result/TablesSetting.pm [new file with mode: 0644]

index 05d65fa..0bd4307 100644 (file)
@@ -95,8 +95,8 @@ __PACKAGE__->add_columns(
 __PACKAGE__->set_primary_key("module", "page", "tablename", "columnname");
 
 
-# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-07 12:11:07
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:s4Zkf15c4v0RJyb1S5UTPA
+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-12-12 16:06:36
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IhREpW2PRxxFF9EYOGt2Qg
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
diff --git a/Koha/Schema/Result/TablesSetting.pm b/Koha/Schema/Result/TablesSetting.pm
new file mode 100644 (file)
index 0000000..a227a29
--- /dev/null
@@ -0,0 +1,93 @@
+use utf8;
+package Koha::Schema::Result::TablesSetting;
+
+# Created by DBIx::Class::Schema::Loader
+# DO NOT MODIFY THE FIRST PART OF THIS FILE
+
+=head1 NAME
+
+Koha::Schema::Result::TablesSetting
+
+=cut
+
+use strict;
+use warnings;
+
+use base 'DBIx::Class::Core';
+
+=head1 TABLE: C<tables_settings>
+
+=cut
+
+__PACKAGE__->table("tables_settings");
+
+=head1 ACCESSORS
+
+=head2 module
+
+  data_type: 'varchar'
+  is_nullable: 0
+  size: 255
+
+=head2 page
+
+  data_type: 'varchar'
+  is_nullable: 0
+  size: 255
+
+=head2 tablename
+
+  data_type: 'varchar'
+  is_nullable: 0
+  size: 255
+
+=head2 default_display_length
+
+  data_type: 'smallint'
+  default_value: 20
+  is_nullable: 0
+
+=head2 default_sort_order
+
+  data_type: 'varchar'
+  is_nullable: 1
+  size: 255
+
+=cut
+
+__PACKAGE__->add_columns(
+  "module",
+  { data_type => "varchar", is_nullable => 0, size => 255 },
+  "page",
+  { data_type => "varchar", is_nullable => 0, size => 255 },
+  "tablename",
+  { data_type => "varchar", is_nullable => 0, size => 255 },
+  "default_display_length",
+  { data_type => "smallint", default_value => 20, is_nullable => 0 },
+  "default_sort_order",
+  { data_type => "varchar", is_nullable => 1, size => 255 },
+);
+
+=head1 PRIMARY KEY
+
+=over 4
+
+=item * L</module>
+
+=item * L</page>
+
+=item * L</tablename>
+
+=back
+
+=cut
+
+__PACKAGE__->set_primary_key("module", "page", "tablename");
+
+
+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-12-10 17:22:41
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:A2GDoSG702QYDH8nYPEJ2Q
+
+
+# You can replace this text with custom code or comments, and it will be preserved on regeneration
+1;