RSS Git Download  Clone
Raw Blame History
package LIMS::DB::PhoneLogOption;

use base qw(LIMS::RDBO);

__PACKAGE__->meta->setup (
    table   => 'phone_log_options',

    columns => [
        id          => { type => 'serial', not_null => 1 },
        description => { type => 'varchar', length => 255 },
        is_active   => { type => 'enum', check_in => [ 'yes', 'no' ], not_null => 1 },
    ],

    primary_key_columns => [ 'id' ],

    unique_key => [ 'description' ],
);

__PACKAGE__->meta->make_manager_class('phone_log_options');

1;