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

36 lines
778 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateContactusesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('contactuses', function (Blueprint $table) {
$table->bigIncrements('id');/////'c_name', 'c_phone', 'c_title', 'c_describe'
$table->string('c_name');
$table->string('c_phone');
$table->string('c_title');
$table->string('c_describe');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('contactuses');
}
}