File "2023_12_25_160647_create_bravo_pricing_cat_table.php"

Full Path: /home/bettaeza/flyinsyria.com/Booking/Database/Migrations/2023_12_25_160647_create_bravo_pricing_cat_table.php
File size: 1.01 KB
MIME-type: text/x-php
Charset: utf-8

<?php

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

return new class extends Migration {
    public function up(): void
    {
        Schema::create('bravo_pricing_cat', function (Blueprint $table) {
            $table->id();
            $table->string('name')->nullable();
            $table->string('type')->nullable();
            $table->tinyInteger('age_enabled')->nullable();
            $table->tinyInteger('min_age')->nullable();
            $table->tinyInteger('max_age')->nullable();
            $table->bigInteger('vendor_id')->nullable();
            $table->tinyInteger('is_default')->default(0)->nullable();
            $table->integer('create_user')->nullable();
            $table->integer('update_user')->nullable();
            $table->softDeletes();
            $table->timestamps();
        });
    }

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