File: /home/imensosw/.trash/database.2/migrations/2022_02_28_000005_create_live_events_table.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateLiveEventsTable extends Migration
{
public function up()
{
Schema::create('live_events', function (Blueprint $table) {
$table->increments('id');
$table->string('event_title');
$table->longText('event_desc')->nullable();
$table->string('feature_image')->nullable();
$table->integer('no_of_tickets')->nullable();
$table->double('event_hours')->nullable();
$table->date('start_date')->nullable();
$table->time('start_time')->nullable();
$table->time('end_time')->nullable();
$table->integer('ticket_price')->nullable();
$table->text('address_location')->nullable();
$table->string('address_line1')->nullable();
$table->string('address_country')->nullable();
$table->string('address_state')->nullable();
$table->string('address_city')->nullable();
$table->string('address_postcode')->nullable();
$table->string('address_lat')->nullable();
$table->string('address_long')->nullable();
$table->text('event_video')->nullable();
$table->text('event_artist')->nullable();
$table->integer('event_status')->default(0)->nullable();
$table->timestamps();
$table->softDeletes();
});
}
}