Date: Thu, 27 Mar 2014 08:47:50 +0000 (UTC) From: Dag-Erling Smørgrav <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r263805 - in user/des/fbce/lib/FBCE: Model Schema/Result Message-ID: <201403270847.s2R8louX078143@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: des Date: Thu Mar 27 08:47:50 2014 New Revision: 263805 URL: http://svnweb.freebsd.org/changeset/base/263805 Log: Regenerate Modified: user/des/fbce/lib/FBCE/Model/FBCE.pm user/des/fbce/lib/FBCE/Schema/Result/Person.pm user/des/fbce/lib/FBCE/Schema/Result/Result.pm user/des/fbce/lib/FBCE/Schema/Result/Statement.pm user/des/fbce/lib/FBCE/Schema/Result/Vote.pm Modified: user/des/fbce/lib/FBCE/Model/FBCE.pm ============================================================================== --- user/des/fbce/lib/FBCE/Model/FBCE.pm Thu Mar 27 08:47:23 2014 (r263804) +++ user/des/fbce/lib/FBCE/Model/FBCE.pm Thu Mar 27 08:47:50 2014 (r263805) @@ -5,8 +5,6 @@ use base 'Catalyst::Model::DBIC::Schema' __PACKAGE__->config( schema_class => 'FBCE::Schema', - - ); =head1 NAME @@ -23,11 +21,11 @@ L<Catalyst::Model::DBIC::Schema> Model u =head1 GENERATED BY -Catalyst::Helper::Model::DBIC::Schema - 0.59 +Catalyst::Helper::Model::DBIC::Schema - 0.62 =head1 AUTHOR -Dag-Erling Smørgrav +FBCE =head1 LICENSE Modified: user/des/fbce/lib/FBCE/Schema/Result/Person.pm ============================================================================== --- user/des/fbce/lib/FBCE/Schema/Result/Person.pm Thu Mar 27 08:47:23 2014 (r263804) +++ user/des/fbce/lib/FBCE/Schema/Result/Person.pm Thu Mar 27 08:47:50 2014 (r263805) @@ -67,6 +67,12 @@ __PACKAGE__->table("persons"); default_value: false is_nullable: 0 +=head2 active + + data_type: 'boolean' + default_value: false + is_nullable: 0 + =head2 incumbent data_type: 'boolean' @@ -85,12 +91,6 @@ __PACKAGE__->table("persons"); default_value: 0 is_nullable: 0 -=head2 active - - data_type: 'boolean' - default_value: false - is_nullable: 0 - =cut __PACKAGE__->add_columns( @@ -122,14 +122,14 @@ __PACKAGE__->add_columns( }, "admin", { data_type => "boolean", default_value => \"false", is_nullable => 0 }, + "active", + { data_type => "boolean", default_value => \"false", is_nullable => 0 }, "incumbent", { data_type => "boolean", default_value => \"false", is_nullable => 0 }, "voted", { data_type => "boolean", default_value => \"false", is_nullable => 0 }, "votes", { data_type => "integer", default_value => 0, is_nullable => 0 }, - "active", - { data_type => "boolean", default_value => \"false", is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -206,8 +206,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07024 @ 2012-05-21 23:49:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QtgEo2NXwa8v6FRHUuQ/Lg +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-03-10 19:05:50 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:40qaS/evx1U+HUHTXygyFQ use Crypt::SaltedHash; use Digest::MD5 qw(md5_hex); Modified: user/des/fbce/lib/FBCE/Schema/Result/Result.pm ============================================================================== --- user/des/fbce/lib/FBCE/Schema/Result/Result.pm Thu Mar 27 08:47:23 2014 (r263804) +++ user/des/fbce/lib/FBCE/Schema/Result/Result.pm Thu Mar 27 08:47:50 2014 (r263805) @@ -26,6 +26,7 @@ use base 'DBIx::Class::Core'; =cut __PACKAGE__->load_components("InflateColumn::DateTime"); +__PACKAGE__->table_class("DBIx::Class::ResultSource::View"); =head1 TABLE: C<results> @@ -86,8 +87,8 @@ __PACKAGE__->add_columns( ); -# Created by DBIx::Class::Schema::Loader v0.07022 @ 2012-05-02 18:58:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DoGyNz+8Hk6gsoM9TPLzHw +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-03-10 19:05:50 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3syEv0rHN8n0xM1HxIPtWg 1; Modified: user/des/fbce/lib/FBCE/Schema/Result/Statement.pm ============================================================================== --- user/des/fbce/lib/FBCE/Schema/Result/Statement.pm Thu Mar 27 08:47:23 2014 (r263804) +++ user/des/fbce/lib/FBCE/Schema/Result/Statement.pm Thu Mar 27 08:47:50 2014 (r263805) @@ -117,12 +117,12 @@ __PACKAGE__->belongs_to( "person", "FBCE::Schema::Result::Person", { id => "person" }, - { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, + { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" }, ); -# Created by DBIx::Class::Schema::Loader v0.07022 @ 2012-05-02 18:58:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4iFokZJlInUlT0SBwcqyng +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-03-10 19:05:50 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8wDb6dHYSG6Eoe9bdNnm8Q use Text::WikiFormat; Modified: user/des/fbce/lib/FBCE/Schema/Result/Vote.pm ============================================================================== --- user/des/fbce/lib/FBCE/Schema/Result/Vote.pm Thu Mar 27 08:47:23 2014 (r263804) +++ user/des/fbce/lib/FBCE/Schema/Result/Vote.pm Thu Mar 27 08:47:50 2014 (r263805) @@ -112,7 +112,7 @@ __PACKAGE__->belongs_to( "candidate", "FBCE::Schema::Result::Person", { id => "candidate" }, - { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, + { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" }, ); =head2 voter @@ -127,12 +127,12 @@ __PACKAGE__->belongs_to( "voter", "FBCE::Schema::Result::Person", { id => "voter" }, - { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, + { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" }, ); -# Created by DBIx::Class::Schema::Loader v0.07022 @ 2012-05-02 18:58:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gBIEgDR5kVbXd4B6h3LRQg +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-03-10 19:05:50 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PPKd4x4Ik0n9U6JnJ5e4hA 1;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403270847.s2R8louX078143>