1 |
use warnings; |
2 |
use strict; |
3 |
|
4 |
package Nos::Users::Schema; |
5 |
use Jifty::DBI::Schema; |
6 |
|
7 |
column email => type is 'text', is mandatory; |
8 |
column full_name => type is 'text' is mandatory; |
9 |
column date => type is 'timestamp', default is 'now()' is mandatory; |
10 |
column active => type is 'boolean', default is 'true' is mandatory; |
11 |
column bounce_count => type is 'int', default is 0 is mandatory; |
12 |
column ext_id => type is 'text'; |
13 |
|
14 |
package Nos::Users; |
15 |
use base qw(Jifty::DBI::Record); |
16 |
|
17 |
# your custom code goes here. |
18 |
|
19 |
1; |