X-Git-Url: http://wagnertech.de/git?p=kivitendo-erp.git;a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FFile.pm;fp=SL%2FDB%2FMetaSetup%2FFile.pm;h=e5fd62246505bd87bef926714c03e1679ce84fdc;hp=257e09fafe700be3f4e4181941970b705ac56eef;hb=b293ff8ad52fc76ba0c44783e3982418114d6b08;hpb=d4925a8b60f04674885e30d9316dc0263f8b9a84 diff --git a/SL/DB/MetaSetup/File.pm b/SL/DB/MetaSetup/File.pm index 257e09faf..e5fd62246 100644 --- a/SL/DB/MetaSetup/File.pm +++ b/SL/DB/MetaSetup/File.pm @@ -9,19 +9,20 @@ use parent qw(SL::DB::Object); __PACKAGE__->meta->table('files'); __PACKAGE__->meta->columns( - backend => { type => 'text' }, - backend_data => { type => 'text' }, - description => { type => 'text' }, - file_name => { type => 'text', not_null => 1 }, - file_type => { type => 'text', not_null => 1 }, - id => { type => 'serial', not_null => 1 }, - itime => { type => 'timestamp', default => 'now()' }, - mime_type => { type => 'text', not_null => 1 }, - mtime => { type => 'timestamp' }, - object_id => { type => 'integer', not_null => 1 }, - object_type => { type => 'text', not_null => 1 }, - source => { type => 'text', not_null => 1 }, - title => { type => 'varchar', length => 45 }, + backend => { type => 'text' }, + backend_data => { type => 'text' }, + description => { type => 'text' }, + file_name => { type => 'text', not_null => 1 }, + file_type => { type => 'text', not_null => 1 }, + id => { type => 'serial', not_null => 1 }, + itime => { type => 'timestamp', default => 'now()' }, + mime_type => { type => 'text', not_null => 1 }, + mtime => { type => 'timestamp' }, + object_id => { type => 'integer', not_null => 1 }, + object_type => { type => 'text', not_null => 1 }, + print_variant => { type => 'text' }, + source => { type => 'text', not_null => 1 }, + title => { type => 'varchar', length => 45 }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]);