update migration
This commit is contained in:
@@ -11,10 +11,10 @@ class CreateImagesTable extends Migration
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('images', function (Blueprint $table) {
|
||||
$table->integer('id', true);
|
||||
$table->id();
|
||||
$table->string('filename');
|
||||
$table->dateTime('created_at');
|
||||
$table->dateTime('updated_at');
|
||||
@@ -27,7 +27,7 @@ class CreateImagesTable extends Migration
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
public function down(): void
|
||||
{
|
||||
Schema::drop('images');
|
||||
}
|
||||
|
Reference in New Issue
Block a user