unsa-pis-be/database/migrations/2022_06_14_000526_create_estandars_table.php
Christian Dacid Sullca Puma 1d272affe2 V1.0.0
2022-06-13 20:21:39 -05:00

31 lines
558 B
PHP

<?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');
}
};