<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateParkingTypesTable extends Migration
{
    public function up()
    {
        Schema::create('parking_types', function (Blueprint $table) {
            $table->bigIncrements('PT_ID'); // bigint(20) primary key, auto-incrementing
            $table->string('Type_Desc', 255); // varchar(255) for parking type description
            $table->timestamps(); // created_at and updated_at
        });
    }

    public function down()
    {
        Schema::dropIfExists('parking_types');
    }
}
