Komentar
JohnCMS 9.5 6 comments
6 comments
А как же это?
if (! $schema->hasTable('files')) { $schema->create( 'files', static function (Blueprint $table) { $table->id(); $table->string('storage')->index(); $table->string('name'); $table->string('path'); $table->integer('size')->unsigned()->nullable(); $table->string('md5', 32)->nullable(); $table->string('sha1', 40)->nullable(); $table->timestamps(); $table->softDeletes(); } );}
if (! $schema->hasTable('files')) { $schema->create( 'files', static function (Blueprint $table) { $table->id(); $table->string('storage')->index(); $table->string('name'); $table->string('path'); $table->integer('size')->unsigned()->nullable(); $table->string('md5', 32)->nullable(); $table->string('sha1', 40)->nullable(); $table->timestamps(); $table->softDeletes(); } );}
You are not logged in. You must be logged in to comment.