E7FID72SS23PZ7RJ6DD65APXCRIYHTHT6SB24MKPLZZ7WM7NUB3QC 4MBKR4XMMBQLYXZ7DN2MF7P7DIJCFOOHEDTRUGHCQFAV4TE2YCLAC PMNWRTGJ4GVSMSSAWSUD57B26PCRAHMZIQ5SIWJIK7A74ENKEQLAC 3XM2QEGWLZ37LGR6DE6RPQ4BKEQIA33OD6WCDMVWUMKJGXYO6HCQC D5QIOJGPKQJIYBUCSC3MFJ3TXLPNZ2XMI37GXMFRVRFWWR2VMTFAC SMCOU72FKTPFNCDXFJAILVUWFE4DY33CJJE4436H5POKENFFDFFAC SB2V735VJ2CDHGCXRUA5FOYHDRXQFVOZ3KXC3YKXWRNW6DIX7RXQC Y6AHH4THYQA43V77L43YM42DYRPCMDSWLUV4NKWAQYMPL4NTUIPQC 5O6E5SU5YQ4JIXLWGHTSAJO4UAMRN65GAZLYMVBMRLFS2F6X7AKAC N22GPKYTOLZLBGTGDATQDVZ4R5APZEAOIA7L32X4UXBH4XNI7MWAC PP4LPADGGHINHEWAGRLKABDCXM7TK5Z5RWIHG7FVJYAALMHRY5JQC 2M7J26V4WXJTOVN7TIOMOLUD2QA4LNTFLNOUTJWKL4XEGE6W2GKQC ZWCTAZGLJZQNTYWTC2XQUKMILJF6JGDL5IND6QNYWK4FIGMLRFXAC RBNQKATLSAKTGW2IRNB5CRV3SEH5F6E4BPVWX4BII7MH5TCIPINQC 7Z7HOZQ3JN5OW2WEU4NWE2XTUWAOHMWDQDJIKKO5KK2ZQTDNJGAAC G2ZB6464XGPBIMSZIPSB24EIXSCCGV4XWC3IWPS2CXYPDSUZSU5QC package Hydra::Schema::BuildMachineSystemTypes;# Created by DBIx::Class::Schema::Loader# DO NOT MODIFY THE FIRST PART OF THIS FILEuse strict;use warnings;use base 'DBIx::Class::Core';=head1 TABLE: C<BuildMachineSystemTypes>=cut__PACKAGE__->table("BuildMachineSystemTypes");=head1 ACCESSORS=head2 hostnamedata_type: 'text'is_foreign_key: 1is_nullable: 0=head2 systemdata_type: 'text'is_nullable: 0=cut__PACKAGE__->add_columns("hostname",{ data_type => "text", is_foreign_key => 1, is_nullable => 0 },"system",{ data_type => "text", is_nullable => 0 },);__PACKAGE__->set_primary_key("hostname", "system");=head1 RELATIONS=head2 hostnameType: belongs_toRelated object: L<Hydra::Schema::BuildMachines>=cut__PACKAGE__->belongs_to("hostname","Hydra::Schema::BuildMachines",{ hostname => "hostname" },);# You can replace this text with custom content, and it will be preserved on regeneration1;# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-01-22 13:29:36# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:im3sfvrv5YY3i1IAOozeiA{ is_deferrable => 0, on_delete => "CASCADE", on_update => "NO ACTION" },=head1 PRIMARY KEY=over 4=item * L</hostname>=item * L</system>=back=cutHydra::Schema::BuildMachineSystemTypes=cut=head1 NAMEuse utf8;
package Hydra::Schema::BuildMachines;# Created by DBIx::Class::Schema::Loader# DO NOT MODIFY THE FIRST PART OF THIS FILEuse strict;use warnings;use base 'DBIx::Class::Core';=cut__PACKAGE__->table("BuildMachines");=head1 ACCESSORS=head2 hostnamedata_type: 'text'is_nullable: 0=head2 usernamedata_type: 'text'default_value: (empty string)is_nullable: 0=head2 ssh_keydata_type: 'text'default_value: (empty string)is_nullable: 0=head2 optionsdata_type: 'text'default_value: (empty string)is_nullable: 0=head2 maxconcurrentdata_type: 'integer'default_value: 2is_nullable: 0=head2 speedfactordata_type: 'integer'default_value: 1is_nullable: 0=head2 enableddata_type: 'integer'default_value: 0is_nullable: 0=cut__PACKAGE__->add_columns("hostname",{ data_type => "text", is_nullable => 0 },"username",{ data_type => "text", default_value => "", is_nullable => 0 },"ssh_key",{ data_type => "text", default_value => "", is_nullable => 0 },"options",{ data_type => "text", default_value => "", is_nullable => 0 },"maxconcurrent",{ data_type => "integer", default_value => 2, is_nullable => 0 },"speedfactor",{ data_type => "integer", default_value => 1, is_nullable => 0 },"enabled",{ data_type => "integer", default_value => 0, is_nullable => 0 },);__PACKAGE__->set_primary_key("hostname");=head1 RELATIONS=head2 buildmachinesystemtypesType: has_manyRelated object: L<Hydra::Schema::BuildMachineSystemTypes>=cut__PACKAGE__->has_many("buildmachinesystemtypes","Hydra::Schema::BuildMachineSystemTypes",{ "foreign.hostname" => "self.hostname" },);# You can replace this text with custom content, and it will be preserved on regeneration1;# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-01-22 13:29:36# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OST5IMcvHKsXlNMCRazXhgundef,=head1 PRIMARY KEY=over 4=item * L</hostname>=back=cut=head1 TABLE: C<BuildMachines>=head1 NAMEHydra::Schema::BuildMachines=cutuse utf8;
create table BuildMachines (hostname text primary key not null,username text default '' not null,ssh_key text default '' not null,options text default '' not null,maxconcurrent integer default 2 not null,speedfactor integer default 1 not null,enabled integer default 0 not null);
create table BuildMachineSystemTypes (hostname text NOT NULL,system text NOT NULL,primary key (hostname, system),foreign key (hostname) references BuildMachines(hostname) on delete cascade);
drop table BuildMachineSystemTypes;drop table BuildMachines;