kuvia/database/migrations/2021_01_20_211851_image_refresh_cache.php

31 lines
547 B
PHP
Raw Normal View History

2021-01-20 21:35:41 +00:00
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ImageRefreshCache extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table("images", function (Blueprint $table) {
$table->boolean("refreshCache")->default(false);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}