Files
backend/database/migrations/2021_05_16_115002_create_cmms_province.php
2024-02-01 09:53:53 +00:00

35 lines
742 B
PHP

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