- gate implementation

- protected shared view fix
This commit is contained in:
Čarodej
2021-09-24 10:52:19 +02:00
parent d40108f6a9
commit 19cc01131b
84 changed files with 876 additions and 406 deletions
@@ -16,7 +16,7 @@ class CreateFileManagerFiles extends Migration
Schema::create('files', function (Blueprint $table) {
$table->uuid('id')->primary()->index();
$table->uuid('user_id')->index();
$table->uuid('folder_id')->nullable();
$table->uuid('parent_id')->nullable();
$table->text('thumbnail')->nullable();
$table->text('name');
@@ -15,7 +15,7 @@ class CreateFavouritesFoldersTable extends Migration
{
Schema::create('favourite_folder', function (Blueprint $table) {
$table->uuid('user_id');
$table->uuid('folder_id');
$table->uuid('parent_id');
$table->charset = 'utf8mb4';
$table->collation = 'utf8mb4_unicode_ci';
});
@@ -15,7 +15,7 @@ class CreateTeamFolderInvitationsTable extends Migration
{
Schema::create('team_folder_invitations', function (Blueprint $table) {
$table->uuid('id')->primary();
$table->uuid('folder_id');
$table->uuid('parent_id');
$table->text('email');
$table->string('color')->nullable();
$table->enum('permission', ['can-edit', 'can-view', 'can-view-and-download']);
@@ -14,7 +14,7 @@ class CreateTeamFolderMembersTable extends Migration
public function up()
{
Schema::create('team_folder_members', function (Blueprint $table) {
$table->uuid('folder_id');
$table->uuid('parent_id');
$table->uuid('user_id');
$table->string('permission');
$table->charset = 'utf8mb4';