Merge branch 'b-3.6.1' into mebil
[kivitendo-erp.git] / SL / DB / MetaSetup / File.pm
index 257e09f..e5fd622 100644 (file)
@@ -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' ]);