Bug 23727: Update Schema
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 14 Feb 2020 13:45:11 +0000 (08:45 -0500)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 17 Apr 2020 12:45:47 +0000 (13:45 +0100)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Koha/Schema/Result/CourseItem.pm

index 5df7ec6..aca0e8c 100644 (file)
@@ -41,12 +41,36 @@ __PACKAGE__->table("course_items");
   is_nullable: 1
   size: 10
 
+=head2 itype_enabled
+
+  data_type: 'tinyint'
+  default_value: 0
+  is_nullable: 0
+
+=head2 itype_storage
+
+  data_type: 'varchar'
+  is_nullable: 1
+  size: 10
+
 =head2 ccode
 
   data_type: 'varchar'
   is_nullable: 1
   size: 80
 
+=head2 ccode_enabled
+
+  data_type: 'tinyint'
+  default_value: 0
+  is_nullable: 0
+
+=head2 ccode_storage
+
+  data_type: 'varchar'
+  is_nullable: 1
+  size: 80
+
 =head2 holdingbranch
 
   data_type: 'varchar'
@@ -54,12 +78,36 @@ __PACKAGE__->table("course_items");
   is_nullable: 1
   size: 10
 
+=head2 holdingbranch_enabled
+
+  data_type: 'tinyint'
+  default_value: 0
+  is_nullable: 0
+
+=head2 holdingbranch_storage
+
+  data_type: 'varchar'
+  is_nullable: 1
+  size: 10
+
 =head2 location
 
   data_type: 'varchar'
   is_nullable: 1
   size: 80
 
+=head2 location_enabled
+
+  data_type: 'tinyint'
+  default_value: 0
+  is_nullable: 0
+
+=head2 location_storage
+
+  data_type: 'varchar'
+  is_nullable: 1
+  size: 80
+
 =head2 enabled
 
   data_type: 'enum'
@@ -83,12 +131,28 @@ __PACKAGE__->add_columns(
   { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
   "itype",
   { data_type => "varchar", is_nullable => 1, size => 10 },
+  "itype_enabled",
+  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
+  "itype_storage",
+  { data_type => "varchar", is_nullable => 1, size => 10 },
   "ccode",
   { data_type => "varchar", is_nullable => 1, size => 80 },
+  "ccode_enabled",
+  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
+  "ccode_storage",
+  { data_type => "varchar", is_nullable => 1, size => 80 },
   "holdingbranch",
   { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
+  "holdingbranch_enabled",
+  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
+  "holdingbranch_storage",
+  { data_type => "varchar", is_nullable => 1, size => 10 },
   "location",
   { data_type => "varchar", is_nullable => 1, size => 80 },
+  "location_enabled",
+  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
+  "location_storage",
+  { data_type => "varchar", is_nullable => 1, size => 80 },
   "enabled",
   {
     data_type => "enum",
@@ -184,8 +248,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-26 16:15:09
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0hBp2R7AMxgHLLZcG/676w
+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-19 16:07:13
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8tTH0fAzewvaXRYs8+VZcg
 
 
 # You can replace this text with custom content, and it will be preserved on regeneration