# $Id: Bar.pm 2185 2008-05-01 21:17:43Z mpaschal $

package Bar;
use strict;
use warnings;

use MT::Object;
use base qw( MT::Object );
__PACKAGE__->install_properties(
    {   column_defs => {
            'id'     => 'integer not null auto_increment',
            'foo_id' => 'integer',
            'name'   => 'string(25)',
            'status' => 'smallint',
        },
        indexes => {
            foo_id     => 1,
            name       => 1,
            created_on => 1,
            status     => 1,
        },
        audit       => 1,
        datasource  => 'bar',
        primary_key => 'id',
        cacheable   => 0,
    }
);

1;
