Skip to content
Browse files

post merge of dhoss' copy - now stuff works.

  • Loading branch information...
1 parent 19a8b3e commit 5e4d4303e3bd1bac7a4c179126c4824cb1b8de1e Kieren Diment committed Apr 8, 2010
View
3 Survey-Perl/Makefile.PL
@@ -26,7 +26,8 @@ requires 'Catalyst::Plugin::Session::Store::FastMmap';
requires 'Catalyst::Authentication::Store::DBIx::Class';
requires 'Catalyst::Authentication::Credential::HTTP';
requires 'DBIx::Class::EncodedColumn';
-rquires 'Config::JFDI';
+requires 'Config::JFDI';
+
install_script glob('script/*.pl');
auto_install;
WriteAll;
View
137 Survey-Perl/lib/PerlSurvey/Schema/Result/Question.pm
@@ -1,137 +0,0 @@
-package PerlSurvey::Schema::Result::Question;
-
-# Created by DBIx::Class::Schema::Loader
-# DO NOT MODIFY THE FIRST PART OF THIS FILE
-
-use strict;
-use warnings;
-
-use base 'DBIx::Class::Core';
-
-
-=head1 NAME
-
-PerlSurvey::Schema::Result::Question
-
-=cut
-
-__PACKAGE__->table("questions");
-
-=head1 ACCESSORS
-
-=head2 field
-
- data_type: varchar
- default_value: undef
- is_nullable: 1
- size: 128
-
-=head2 title
-
- data_type: text
- default_value: undef
- is_nullable: 1
- size: undef
-
-=head2 type
-
- data_type: text
- default_value: undef
- is_nullable: 1
- size: undef
-
-=head2 validation
-
- data_type: text
- default_value: undef
- is_nullable: 1
- size: undef
-
-=head2 section
-
- data_type: integer
- default_value: undef
- is_foreign_key: 1
- is_nullable: 1
- size: undef
-
-=cut
-
-__PACKAGE__->add_columns(
- "field",
- {
- data_type => "varchar",
- default_value => undef,
- is_nullable => 1,
- size => 128,
- },
- "title",
- {
- data_type => "text",
- default_value => undef,
- is_nullable => 1,
- size => undef,
- },
- "type",
- {
- data_type => "text",
- default_value => undef,
- is_nullable => 1,
- size => undef,
- },
- "validation",
- {
- data_type => "text",
- default_value => undef,
- is_nullable => 1,
- size => undef,
- },
- "section",
- {
- data_type => "integer",
- default_value => undef,
- is_foreign_key => 1,
- is_nullable => 1,
- size => undef,
- },
-);
-__PACKAGE__->set_primary_key("field");
-
-=head1 RELATIONS
-
-=head2 section
-
-Type: belongs_to
-
-Related object: L<PerlSurvey::Schema::Result::Section>
-
-=cut
-
-__PACKAGE__->belongs_to(
- "section",
- "PerlSurvey::Schema::Result::Section",
- { id => "section" },
- { join_type => "LEFT" },
-);
-
-=head2 answers
-
-Type: has_many
-
-Related object: L<PerlSurvey::Schema::Result::Answer>
-
-=cut
-
-__PACKAGE__->has_many(
- "answers",
- "PerlSurvey::Schema::Result::Answer",
- { "foreign.field" => "self.field" },
-);
-
-
-# Created by DBIx::Class::Schema::Loader v0.05003 @ 2010-02-21 17:15:23
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TZWCrS5b/XmoTj9/mpey6g
-
-
-# You can replace this text with custom content, and it will be preserved on regeneration
-1;
View
78 Survey-Perl/lib/PerlSurvey/Schema/Result/Section.pm
@@ -1,78 +0,0 @@
-package PerlSurvey::Schema::Result::Section;
-
-# Created by DBIx::Class::Schema::Loader
-# DO NOT MODIFY THE FIRST PART OF THIS FILE
-
-use strict;
-use warnings;
-
-use base 'DBIx::Class::Core';
-
-
-=head1 NAME
-
-PerlSurvey::Schema::Result::Section
-
-=cut
-
-__PACKAGE__->table("sections");
-
-=head1 ACCESSORS
-
-=head2 id
-
- data_type: integer
- default_value: undef
- is_nullable: 1
- size: undef
-
-=head2 title
-
- data_type: text
- default_value: undef
- is_nullable: 1
- size: undef
-
-=cut
-
-__PACKAGE__->add_columns(
- "id",
- {
- data_type => "integer",
- default_value => undef,
- is_nullable => 1,
- size => undef,
- },
- "title",
- {
- data_type => "text",
- default_value => undef,
- is_nullable => 1,
- size => undef,
- },
-);
-__PACKAGE__->set_primary_key("id");
-
-=head1 RELATIONS
-
-=head2 questions
-
-Type: has_many
-
-Related object: L<PerlSurvey::Schema::Result::Question>
-
-=cut
-
-__PACKAGE__->has_many(
- "questions",
- "PerlSurvey::Schema::Result::Question",
- { "foreign.section" => "self.id" },
-);
-
-
-# Created by DBIx::Class::Schema::Loader v0.05003 @ 2010-02-21 17:15:23
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iHeluErrk5uqhV0MnYXr3Q
-
-
-# You can replace this text with custom content, and it will be preserved on regeneration
-1;
View
115 Survey-Perl/lib/PerlSurvey/Schema/Result/User.pm
@@ -1,115 +0,0 @@
-package PerlSurvey::Schema::Result::User;
-
-# Created by DBIx::Class::Schema::Loader
-# DO NOT MODIFY THE FIRST PART OF THIS FILE
-
-use strict;
-use warnings;
-
-use base 'DBIx::Class::Core';
-
-
-=head1 NAME
-
-PerlSurvey::Schema::Result::User
-
-=cut
-
-__PACKAGE__->table("user");
-
-=head1 ACCESSORS
-
-=head2 userid
-
- data_type: integer
- default_value: undef
- is_nullable: 1
- size: undef
-
-=head2 sessionid
-
- data_type: varchar
- default_value: undef
- is_nullable: 1
- size: 128
-
-=head2 username
-
- data_type: varchar
- default_value: undef
- is_nullable: 1
- size: 64
-
-=head2 email
-
- data_type: varchar
- default_value: undef
- is_nullable: 1
- size: 128
-
-=head2 language
-
- data_type: char
- default_value: undef
- is_nullable: 1
- size: 10
-
-=cut
-
-__PACKAGE__->add_columns(
- "userid",
- {
- data_type => "integer",
- default_value => undef,
- is_nullable => 1,
- size => undef,
- },
- "sessionid",
- {
- data_type => "varchar",
- default_value => undef,
- is_nullable => 1,
- size => 128,
- },
- "username",
- {
- data_type => "varchar",
- default_value => undef,
- is_nullable => 1,
- size => 64,
- },
- "email",
- {
- data_type => "varchar",
- default_value => undef,
- is_nullable => 1,
- size => 128,
- },
- "language",
- { data_type => "char", default_value => undef, is_nullable => 1, size => 10 },
-);
-__PACKAGE__->set_primary_key("userid");
-
-=head1 RELATIONS
-
-=head2 answers
-
-Type: has_many
-
-Related object: L<PerlSurvey::Schema::Result::Answer>
-
-=cut
-
-__PACKAGE__->has_many(
- "answers",
- "PerlSurvey::Schema::Result::Answer",
- { "foreign.user" => "self.userid" },
-);
-
-
-# Created by DBIx::Class::Schema::Loader v0.05003 @ 2010-02-21 17:15:23
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LTWm+4L0nOH7ahbfC6AYNA
-
-
-# You can replace this text with custom content, and it will be preserved on regeneration
-1;

0 comments on commit 5e4d430

Please sign in to comment.
Something went wrong with that request. Please try again.