Generate multiple avatar sizes for better performance loading and frugal traffic

This commit is contained in:
Čarodej
2021-11-03 16:28:14 +01:00
parent dc8ec5f20b
commit f139dbae08
30 changed files with 280 additions and 152 deletions

View File

@@ -24,7 +24,6 @@ class CreateFileManagerFolders extends Migration
$table->boolean('team_folder')->default(0);
$table->enum('author', ['user', 'member', 'visitor'])->default('user');
$table->uuid('author_id')->nullable();
$table->softDeletes();
$table->timestamps();

View File

@@ -18,7 +18,6 @@ class CreateFileManagerFiles extends Migration
$table->uuid('user_id')->index();
$table->uuid('parent_id')->nullable();
$table->text('thumbnail')->nullable();
$table->text('name');
$table->string('basename')->index();
@@ -29,7 +28,6 @@ class CreateFileManagerFiles extends Migration
$table->longText('metadata')->nullable();
$table->enum('author', ['user', 'member', 'visitor'])->default('user');
$table->uuid('author_id')->nullable();
$table->softDeletes();
$table->timestamps();