1package Test::Schema::Result::Session;
2
3use strict;
4use warnings;
5
6use base 'DBIx::Class::Core';
7
8__PACKAGE__->load_components(qw(TimeStamp));
9
10__PACKAGE__->table("sessions");
11
12__PACKAGE__->add_columns(
13  "sessions_id",
14  { data_type => "varchar", is_nullable => 0, size => 255 },
15  "session_data",
16  { data_type => "text", is_nullable => 0 },
17  "created",
18  { data_type => "datetime", set_on_create => 1, is_nullable => 0 },
19  "last_modified",
20  { data_type => "datetime", set_on_create => 1, is_nullable => 0 },
21);
22
23__PACKAGE__->set_primary_key("sessions_id");
24
251;
26