aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/Result/Session.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-05-24 15:33:27 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-05-24 15:33:27 +0100
commite1444cafa50b8857bb40049a921bd388684db03f (patch)
tree08821fa7a0b4e8f62e824a8662dab938ecb017eb /perllib/FixMyStreet/DB/Result/Session.pm
parentd9395396a76ce8254fca8637d3bde9e10b7f7564 (diff)
Add InflateColumn::DateTime to all models.
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/Session.pm')
-rw-r--r--perllib/FixMyStreet/DB/Result/Session.pm16
1 files changed, 10 insertions, 6 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Session.pm b/perllib/FixMyStreet/DB/Result/Session.pm
index a50c3780b..a10e6fa0d 100644
--- a/perllib/FixMyStreet/DB/Result/Session.pm
+++ b/perllib/FixMyStreet/DB/Result/Session.pm
@@ -8,17 +8,21 @@ use warnings;
use base 'DBIx::Class::Core';
-__PACKAGE__->load_components("FilterColumn");
+__PACKAGE__->load_components("FilterColumn", "InflateColumn::DateTime");
__PACKAGE__->table("sessions");
__PACKAGE__->add_columns(
- "id", { data_type => "char", is_nullable => 0, size => 72 },
- "session_data", { data_type => "text", is_nullable => 1 },
- "expires", { data_type => "integer", is_nullable => 1 },
+ "id",
+ { data_type => "char", is_nullable => 0, size => 72 },
+ "session_data",
+ { data_type => "text", is_nullable => 1 },
+ "expires",
+ { data_type => "integer", is_nullable => 1 },
);
__PACKAGE__->set_primary_key("id");
-# Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-24 17:36:08
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E6SUYbAPJMQSXTrvn0x3kg
+
+# Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-05-24 15:32:43
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tYWQtbja2nkA/2A+kaPl1g
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;