2 package Koha::Schema::Result::OpacNews;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::OpacNews
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<opac_news>
22 __PACKAGE__->table("opac_news");
29 extra: {unsigned => 1}
36 default_value: (empty string)
49 default_value: (empty string)
55 data_type: 'timestamp'
56 datetime_undef_if_invalid: 1
57 default_value: current_timestamp
63 datetime_undef_if_invalid: 1
73 __PACKAGE__->add_columns(
76 data_type => "integer",
77 extra => { unsigned => 1 },
78 is_auto_increment => 1,
82 { data_type => "varchar", default_value => "", is_nullable => 0, size => 250 },
84 { accessor => undef, data_type => "text", is_nullable => 0 },
86 { data_type => "varchar", default_value => "", is_nullable => 0, size => 25 },
89 data_type => "timestamp",
90 datetime_undef_if_invalid => 1,
91 default_value => \"current_timestamp",
95 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
97 { data_type => "integer", is_nullable => 1 },
110 __PACKAGE__->set_primary_key("idnew");
113 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
114 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0tkil0XyRwcT+abM2XoADw
117 # You can replace this text with custom content, and it will be preserved on regeneration