Bug 17767: DBIC update
[koha.git] / Koha / Schema / Result / Currency.pm
index 7528869..7169666 100644 (file)
@@ -36,6 +36,12 @@ __PACKAGE__->table("currency");
   is_nullable: 1
   size: 5
 
+=head2 isocode
+
+  data_type: 'varchar'
+  is_nullable: 1
+  size: 5
+
 =head2 timestamp
 
   data_type: 'timestamp'
@@ -54,6 +60,12 @@ __PACKAGE__->table("currency");
   data_type: 'tinyint'
   is_nullable: 1
 
+=head2 archived
+
+  data_type: 'tinyint'
+  default_value: 0
+  is_nullable: 1
+
 =cut
 
 __PACKAGE__->add_columns(
@@ -61,6 +73,8 @@ __PACKAGE__->add_columns(
   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
   "symbol",
   { data_type => "varchar", is_nullable => 1, size => 5 },
+  "isocode",
+  { data_type => "varchar", is_nullable => 1, size => 5 },
   "timestamp",
   {
     data_type => "timestamp",
@@ -72,6 +86,8 @@ __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
@@ -118,9 +134,24 @@ __PACKAGE__->has_many(
   { 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.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1fpLJHtP0bseXVfytxii5Q
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-09 15:14:35
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0xP1adf+TPUi2cBn8Qah5A
 
 
 # You can replace this text with custom content, and it will be preserved on regeneration