File: User.pm

package info (click to toggle)
libcatalystx-simplelogin-perl 0.21-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 464 kB
  • sloc: perl: 3,134; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 450 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package TestAppDBIC::Schema::Result::User;
use strict;
use warnings;
use base qw/DBIx::Class/;
__PACKAGE__->load_components(qw/ Core /);
__PACKAGE__->table ('user');
__PACKAGE__->add_columns (
  id => { data_type => 'int', is_auto_increment => 1 },
  user_name => { data_type => 'varchar', }, # Note this is not the standard 'username' field used by simplelogin
  password => { data_type => 'varchar', },
);

__PACKAGE__->set_primary_key ('id');

1;