fix unique name document
This commit is contained in:
parent
0419aebe18
commit
97f4cd68e6
|
@ -10,7 +10,7 @@ return new class extends Migration
|
||||||
{
|
{
|
||||||
Schema::create('documents', function (Blueprint $table) {
|
Schema::create('documents', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
$table->string('name', 255)->unique();
|
$table->string('name', 255);
|
||||||
$table->string('file_name')->nullable();
|
$table->string('file_name')->nullable();
|
||||||
$table->text('description')->nullable();
|
$table->text('description')->nullable();
|
||||||
$table->string('url', 255);
|
$table->string('url', 255);
|
||||||
|
|
Loading…
Reference in New Issue