| 1 | # | ||
| 2 | # This file is part of Jedi-Plugin-Session | ||
| 3 | # | ||
| 4 | # This software is copyright (c) 2013 by celogeek <me@celogeek.com>. | ||
| 5 | # | ||
| 6 | # This is free software; you can redistribute it and/or modify it under | ||
| 7 | # the same terms as the Perl 5 programming language system itself. | ||
| 8 | # | ||
| 9 | package Jedi::Plugin::Session::Backend::SQLite::DB::Result::Session; | ||
| 10 | |||
| 11 | # ABSTRACT: ResultSet for Session table | ||
| 12 | |||
| 13 | 5 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 5 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 5 | our $VERSION = '0.05'; # VERSION | |
| 16 | |||
| 17 | 5 | ▶ | use base qw/DBIx::Class::Core/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | |||
| 19 | 5 | __PACKAGE__->table('jedi_session'); | |
| 20 | 5 | __PACKAGE__->add_columns(qw/id expire_at session/); | |
| 21 | 5 | __PACKAGE__->set_primary_key('id'); | |
| 22 | |||
| 23 | 5 | 1; | |
| 24 | |||
| 25 | __END__ | ||