mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
invitation page implementation
This commit is contained in:
@@ -24,6 +24,7 @@ class TeamFolderInvitationFactory extends Factory
|
||||
return [
|
||||
'id' => $this->faker->uuid,
|
||||
'parent_id' => $this->faker->uuid,
|
||||
'inviter_id' => $this->faker->uuid,
|
||||
'email' => $this->faker->email,
|
||||
'permission' => $this->faker->randomElement(['can-edit', 'can-view', 'can-view-and-download']),
|
||||
'status' => $this->faker->randomElement(['pending', 'accepted', 'rejected']),
|
||||
|
||||
@@ -16,6 +16,7 @@ class CreateTeamFolderInvitationsTable extends Migration
|
||||
Schema::create('team_folder_invitations', function (Blueprint $table) {
|
||||
$table->uuid('id')->primary();
|
||||
$table->uuid('parent_id');
|
||||
$table->uuid('inviter_id');
|
||||
$table->text('email');
|
||||
$table->string('color')->nullable();
|
||||
$table->enum('permission', ['can-edit', 'can-view', 'can-view-and-download']);
|
||||
|
||||
Reference in New Issue
Block a user