| 1 | package MojoMojo::Schema::Result::Preference; | ||
| 2 | |||
| 3 | 40 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 40 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 40 | ▶ | use parent qw/MojoMojo::Schema::Base::Result/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 40 | __PACKAGE__->load_components( "Core" ); | |
| 9 | 40 | __PACKAGE__->table("preference"); | |
| 10 | 40 | __PACKAGE__->add_columns( | |
| 11 | "prefkey", { data_type => "VARCHAR", is_nullable => 0, size => 100 }, | ||
| 12 | "prefvalue", { data_type => "VARCHAR", is_nullable => 1, size => 100 }, | ||
| 13 | ); | ||
| 14 | 40 | __PACKAGE__->set_primary_key("prefkey"); | |
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | MojoMojo::Schema::Result::Preference - store preferences | ||
| 19 | |||
| 20 | =head1 AUTHOR | ||
| 21 | |||
| 22 | Marcus Ramberg <mramberg@cpan.org> | ||
| 23 | |||
| 24 | =head1 LICENSE | ||
| 25 | |||
| 26 | This library is free software. You can redistribute it and/or modify | ||
| 27 | it under the same terms as Perl itself. | ||
| 28 | |||
| 29 | =cut | ||
| 30 | |||
| 31 | |||
| 32 | 40 | 1; | |