You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.3 KiB
47 lines
1.3 KiB
<?php
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
class CreateServicesTable extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('services', function (Blueprint $table) {
|
|
$table->id();
|
|
$table->string('name');
|
|
// $table->string('image_title');
|
|
// $table->string('image');
|
|
// $table->string('description_title');
|
|
// $table->string('image_description');
|
|
// $table->longText('top_description');
|
|
// $table->longText('bottom_description');
|
|
// $table->string('point_title');
|
|
$table->string('seo_title');
|
|
$table->longText('seo_description');
|
|
$table->string('keywords');
|
|
$table->longText('meta_keywords');
|
|
$table->enum('status',[1,2]);
|
|
// $table->string('image_alt')->nullable();
|
|
$table->string('order_by');
|
|
$table->string('slug');
|
|
$table->timestamps();
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('services');
|
|
}
|
|
}
|
|
|