package Vee::Schema::Gallery;

use strict;
use warnings;
use base 'DBIx::Class';

=head1 NAME

Vee::Schema::Gallery - DBIC class for the C<gallery> table

=cut

__PACKAGE__->load_components('Core');
__PACKAGE__->table('gallery');
__PACKAGE__->add_columns(qw/
    id
    creatorid
    filename
    uploaderid
    approverid
    time
    hash
    title
    description
    height
    width
    seriesid
    position
    type
/);
__PACKAGE__->set_primary_key('id');
__PACKAGE__->add_unique_constraint(filename => ['filename']);

=head1 SEE ALSO

L<Vee::Schema>, L<DBIx::Class>

=head1 AUTHOR

Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)

See the included F<AUTHORS> file for a full list of contributers.

=head1 LICENSE

See the included F<LICENSE> file.

=cut

1;
