chanlemomov1/database/migrations/2021_05_23_205626_create_caches_table.php
2022-02-16 14:01:00 +07:00

34 lines
666 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCachesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('caches', function (Blueprint $table) {
$table->id();
$table->string('time_bank_top_tuan');
$table->string('version');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('caches');
}
}