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