Permalink
Browse files

Using File store for session data

  • Loading branch information...
1 parent d68a5d4 commit e38e6c9857e1e00f63484ff149594086f4023b7c @kthakore committed Mar 9, 2011
@@ -18,7 +18,7 @@ requires 'Catalyst::Plugin::Authentication';
requires 'Catalyst::Plugin::Authorization::Roles';
requires 'Catalyst::Plugin::StackTrace';
requires 'Catalyst::Plugin::Session';
-requires 'Catalyst::Plugin::Session::Store::FastMmap';
+requires 'Catalyst::Plugin::Session::Store::File';
requires 'Catalyst::Plugin::Session::State::Cookie';
requires 'Catalyst::Authentication::Store::DBIx::Class';
requires 'DBIx::Class::TimeStamp';
@@ -33,8 +33,6 @@ requires 'namespace::autoclean';
requires 'Class::Method::Modifiers';
requires 'DateTime::Format::DateParse';
requires 'Catalyst::View::TT';
-requires 'FCGI';
-requires 'FCGI::ProcManager';
requires 'Catalyst::Helper::View::PDF::Reuse';
requires
'Config::General'; # This should reflect the config file format you've chosen
@@ -13,14 +13,13 @@ use Catalyst::Runtime 5.80;
# directory
use Catalyst qw/
- -Debug
ConfigLoader
Static::Simple
StackTrace
Authentication
Authorization::Roles
Session
- Session::Store::FastMmap
+ Session::Store::File
Session::State::Cookie
/;
@@ -3,21 +3,17 @@ package SIMS::Schema;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
-use strict;
-use warnings;
-
use Moose;
-use MooseX::NonMoose;
use namespace::autoclean;
extends 'DBIx::Class::Schema';
__PACKAGE__->load_namespaces;
-# Created by DBIx::Class::Schema::Loader v0.07002 @ 2011-03-08 01:01:26
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:m9o9+XlaFE51ao2l9A/n0g
+# Created by DBIx::Class::Schema::Loader v0.07009 @ 2011-03-08 01:06:21
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TjwXoROlxtIIh4FcGLdo7A
-# You can replace this text with custom content, and it will be preserved on regeneration
-__PACKAGE__->meta->make_immutable;
+# You can replace this text with custom code or comments, and it will be preserved on regeneration
+__PACKAGE__->meta->make_immutable(inline_constructor => 0);
1;
@@ -77,8 +77,92 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("id");
-# Created by DBIx::Class::Schema::Loader v0.07002 @ 2011-03-08 01:01:26
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YyxTzkZhoQE0Y5fCLW65CQ
+# Created by DBIx::Class::Schema::Loader v0.07009 @ 2011-03-08 01:06:21
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:x3eQ9+NR7/1d9Gm49AkawA
+# These lines were loaded from '/usr/local/share/perl/5.10.1/SIMS/Schema/Result/Event.pm' found in @INC.
+# They are now part of the custom portion of this file
+# for you to hand-edit. If you do not either delete
+# this section or remove that file from @INC, this section
+# will be repeated redundantly when you re-create this
+# file again via Loader! See skip_load_external to disable
+# this feature.
+
+package SIMS::Schema::Result::Event;
+
+# Created by DBIx::Class::Schema::Loader
+# DO NOT MODIFY THE FIRST PART OF THIS FILE
+
+use strict;
+use warnings;
+
+use Moose;
+use MooseX::NonMoose;
+use namespace::autoclean;
+extends 'DBIx::Class::Core';
+
+__PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp", "EncodedColumn");
+
+=head1 NAME
+
+SIMS::Schema::Result::Event
+
+=cut
+
+__PACKAGE__->table("Event");
+
+=head1 ACCESSORS
+
+=head2 id
+
+ data_type: 'integer'
+ is_nullable: 0
+
+=head2 ref_id
+
+ data_type: 'integer'
+ is_nullable: 0
+
+=head2 refers_to
+
+ data_type: 'text'
+ is_nullable: 1
+
+=head2 type
+
+ data_type: 'text'
+ is_nullable: 1
+
+=head2 timestamp
+
+ data_type: 'timestamp'
+ is_nullable: 0
+
+=head2 description
+
+ data_type: 'text'
+ is_nullable: 1
+
+=cut
+
+__PACKAGE__->add_columns(
+ "id",
+ { data_type => "integer", is_nullable => 0 },
+ "ref_id",
+ { data_type => "integer", is_nullable => 0 },
+ "refers_to",
+ { data_type => "text", is_nullable => 1 },
+ "type",
+ { data_type => "text", is_nullable => 1 },
+ "timestamp",
+ { data_type => "timestamp", is_nullable => 0 },
+ "description",
+ { data_type => "text", is_nullable => 1 },
+);
+__PACKAGE__->set_primary_key("id");
+
+
+# Created by DBIx::Class::Schema::Loader v0.07002 @ 2011-03-07 23:32:06
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:S8ZFs7vQmrnhvcWbaEdZkg
# These lines were loaded from '/home/kthakore/.perl5/perls/perl-5.12.2/lib/site_perl/5.12.2/SIMS/Schema/Result/Event.pm' found in @INC.
# They are now part of the custom portion of this file
# for you to hand-edit. If you do not either delete
@@ -176,3 +260,9 @@ __PACKAGE__->meta->make_immutable;
# You can replace this text with custom content, and it will be preserved on regeneration
__PACKAGE__->meta->make_immutable;
1;
+# End of lines loaded from '/usr/local/share/perl/5.10.1/SIMS/Schema/Result/Event.pm'
+
+
+# You can replace this text with custom code or comments, and it will be preserved on regeneration
+__PACKAGE__->meta->make_immutable;
+1;
@@ -87,8 +87,102 @@ __PACKAGE__->has_many(
);
-# Created by DBIx::Class::Schema::Loader v0.07002 @ 2011-03-08 01:01:26
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Y2BgK3hellmugQZyS/um0w
+# Created by DBIx::Class::Schema::Loader v0.07009 @ 2011-03-08 01:06:21
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sa1floVmctMsv/mOz9aKiQ
+# These lines were loaded from '/usr/local/share/perl/5.10.1/SIMS/Schema/Result/Fund.pm' found in @INC.
+# They are now part of the custom portion of this file
+# for you to hand-edit. If you do not either delete
+# this section or remove that file from @INC, this section
+# will be repeated redundantly when you re-create this
+# file again via Loader! See skip_load_external to disable
+# this feature.
+
+package SIMS::Schema::Result::Fund;
+
+# Created by DBIx::Class::Schema::Loader
+# DO NOT MODIFY THE FIRST PART OF THIS FILE
+
+use strict;
+use warnings;
+
+use Moose;
+use MooseX::NonMoose;
+use namespace::autoclean;
+extends 'DBIx::Class::Core';
+
+__PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp", "EncodedColumn");
+
+=head1 NAME
+
+SIMS::Schema::Result::Fund
+
+=cut
+
+__PACKAGE__->table("Fund");
+
+=head1 ACCESSORS
+
+=head2 id
+
+ data_type: 'integer'
+ is_nullable: 0
+
+=head2 type
+
+ data_type: 'text'
+ is_nullable: 1
+
+=head2 value
+
+ data_type: 'numeric'
+ is_nullable: 1
+
+=head2 start
+
+ data_type: 'date'
+ is_nullable: 1
+
+=head2 end
+
+ data_type: 'date'
+ is_nullable: 1
+
+=cut
+
+__PACKAGE__->add_columns(
+ "id",
+ { data_type => "integer", is_nullable => 0 },
+ "type",
+ { data_type => "text", is_nullable => 1 },
+ "value",
+ { data_type => "numeric", is_nullable => 1 },
+ "start",
+ { data_type => "date", is_nullable => 1 },
+ "end",
+ { data_type => "date", is_nullable => 1 },
+);
+__PACKAGE__->set_primary_key("id");
+
+=head1 RELATIONS
+
+=head2 term_fundings
+
+Type: has_many
+
+Related object: L<SIMS::Schema::Result::TermFunding>
+
+=cut
+
+__PACKAGE__->has_many(
+ "term_fundings",
+ "SIMS::Schema::Result::TermFunding",
+ { "foreign.fund_id" => "self.id" },
+ { cascade_copy => 0, cascade_delete => 0 },
+);
+
+
+# Created by DBIx::Class::Schema::Loader v0.07002 @ 2011-03-07 23:32:06
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SbvbA1+ntLUK8e1HNwpK7A
# These lines were loaded from '/home/kthakore/.perl5/perls/perl-5.12.2/lib/site_perl/5.12.2/SIMS/Schema/Result/Fund.pm' found in @INC.
# They are now part of the custom portion of this file
# for you to hand-edit. If you do not either delete
@@ -195,3 +289,9 @@ __PACKAGE__->meta->make_immutable;
# You can replace this text with custom content, and it will be preserved on regeneration
__PACKAGE__->meta->make_immutable;
1;
+# End of lines loaded from '/usr/local/share/perl/5.10.1/SIMS/Schema/Result/Fund.pm'
+
+
+# You can replace this text with custom code or comments, and it will be preserved on regeneration
+__PACKAGE__->meta->make_immutable;
+1;
Oops, something went wrong.

0 comments on commit e38e6c9

Please sign in to comment.