File "2019_05_21_084235_create_bravo_contact_table.php"
Full Path: /home/bettaeza/flyinsyria.com/app/.well-known/database/migrations/2019_05_21_084235_create_bravo_contact_table.php
File size: 1007 B
MIME-type: text/x-php
Charset: utf-8
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateBravoContactTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('bravo_contact', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('name', 255)->nullable();
$table->string('email', 255)->nullable();
$table->text('message')->nullable();
$table->string('status', 50)->nullable();
$table->integer('create_user')->nullable();
$table->integer('update_user')->nullable();
$table->softDeletes();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('bravo_contact');
}
}