unsa-pis-be/database/migrations/2022_06_14_000526_create_estandars_table.php

31 lines
558 B
PHP
Raw Normal View History

2022-06-14 01:21:39 +00:00
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('estandars', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->timestamps();
});
}
public function down()
{
Schema::dropIfExists('estandars');
}
};