mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
setup wizard refactoring
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user