File: Bloaty.pm

package info (click to toggle)
libdbix-class-helpers-perl 2.036000-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,008 kB
  • sloc: perl: 5,041; sql: 537; makefile: 7
file content (28 lines) | stat: -rw-r--r-- 465 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package TestSchema::Result::Bloaty;

use DBIx::Class::Candy -components => [
   'Helper::Row::ProxyResultSetUpdate',
   'Helper::Row::ProxyResultSetMethod',
];

table 'Bloaty';

primary_column id => { data_type => 'int' };

column name => {
   data_type => 'varchar',
   remove_column => 1,
};

column literature => {
   data_type => 'text',
   is_nullable => 1,
};

column your_mom => {
   data_type => 'blob',
   is_nullable => 1,
   is_serializable => 1,
};

1;