2 package Koha::Schema::Result::ImportItem;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::ImportItem
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<import_items>
22 __PACKAGE__->table("import_items");
26 =head2 import_items_id
32 =head2 import_record_id
52 default_value: 'staged'
53 extra: {list => ["error","staged","imported","reverted","ignored"]}
63 data_type: 'mediumtext'
68 __PACKAGE__->add_columns(
70 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
72 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
74 { data_type => "integer", is_nullable => 1 },
76 { data_type => "varchar", is_nullable => 1, size => 10 },
80 default_value => "staged",
81 extra => { list => ["error", "staged", "imported", "reverted", "ignored"] },
85 { data_type => "longtext", is_nullable => 0 },
87 { data_type => "mediumtext", is_nullable => 1 },
94 =item * L</import_items_id>
100 __PACKAGE__->set_primary_key("import_items_id");
108 Related object: L<Koha::Schema::Result::ImportRecord>
112 __PACKAGE__->belongs_to(
114 "Koha::Schema::Result::ImportRecord",
115 { import_record_id => "import_record_id" },
116 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
120 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
121 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xJd76DD3iljc4uFm7iZeLQ
124 # You can replace this text with custom content, and it will be preserved on regeneration