- public sharing refactored part 1

This commit is contained in:
Peter Papp
2021-03-19 07:27:15 +01:00
parent 816c8c3e07
commit db9900fcfb
27 changed files with 563 additions and 435 deletions

View File

@@ -20,6 +20,8 @@ class CreateFileManagerFolders extends Migration
$table->text('name');
$table->string('color')->nullable();
$table->longText('emoji')->nullable();
// TODO: upravit user scope
$table->enum('user_scope', ['master', 'editor', 'visitor'])->default('master');
$table->softDeletes();
$table->timestamps();

View File

@@ -27,6 +27,8 @@ class CreateFileManagerFiles extends Migration
$table->text('type')->nullable();
$table->longText('metadata')->nullable();
// TODO: upravit user scope
$table->enum('user_scope', ['master', 'editor', 'visitor'])->default('master');
$table->softDeletes();