setup wizard refactoring

This commit is contained in:
Čarodej
2022-04-27 11:42:28 +02:00
parent 39c94473c8
commit 08ee6567bc
21 changed files with 51 additions and 527 deletions

View File

@@ -16,6 +16,7 @@ class CreateFilesTable extends Migration
Schema::create('files', function (Blueprint $table) {
$table->uuid('id')->primary()->index();
$table->uuid('user_id')->index();
$table->uuid('creator_id')->nullable();
$table->uuid('parent_id')->nullable();
$table->text('name');
@@ -26,8 +27,6 @@ class CreateFilesTable extends Migration
$table->text('type')->nullable();
$table->enum('author', ['user', 'member', 'visitor'])->default('user');
$table->softDeletes();
$table->timestamps();