database queries from a set of jobs that have to be in a release. E.g. a patchelf release might consist of the jobs "tarball", "build", and "rpm_fedora10i386". Here the first job ("tarball") is the primary job: all the others have it as an input. The primary job supplies the identity of the release.
34 lines
876 B
Perl
34 lines
876 B
Perl
package Hydra::Schema::Users;
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
use base 'DBIx::Class';
|
|
|
|
__PACKAGE__->load_components("Core");
|
|
__PACKAGE__->table("Users");
|
|
__PACKAGE__->add_columns(
|
|
"username",
|
|
{ data_type => "text", is_nullable => 0, size => undef },
|
|
"fullname",
|
|
{ data_type => "text", is_nullable => 0, size => undef },
|
|
"emailaddress",
|
|
{ data_type => "text", is_nullable => 0, size => undef },
|
|
"password",
|
|
{ data_type => "text", is_nullable => 0, size => undef },
|
|
);
|
|
__PACKAGE__->set_primary_key("username");
|
|
__PACKAGE__->has_many(
|
|
"userroles",
|
|
"Hydra::Schema::Userroles",
|
|
{ "foreign.username" => "self.username" },
|
|
);
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-27 14:48:09
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:s+M14nuDVIMoRSgXodj3dw
|
|
|
|
|
|
# You can replace this text with custom content, and it will be preserved on regeneration
|
|
1;
|