Revision 36ab63d0
Von Tamino Steinert vor 8 Monaten hinzugefügt
SL/DB/MetaSetup/File.pm | ||
---|---|---|
9 | 9 |
__PACKAGE__->meta->table('files'); |
10 | 10 |
|
11 | 11 |
__PACKAGE__->meta->columns( |
12 |
backend => { type => 'text' },
|
|
12 |
backend => { type => 'enum', check_in => [ 'Filesystem', 'Webdav' ], db_type => 'files_backends', not_null => 1 },
|
|
13 | 13 |
backend_data => { type => 'text' }, |
14 | 14 |
description => { type => 'text' }, |
15 | 15 |
file_name => { type => 'text', not_null => 1 }, |
Auch abrufbar als: Unified diff
S:D:File: Backend auf Type Enum setzen