2021-04-16 01:00:00 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
|
|
|
|
class CreatePagesTable extends Migration
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function up()
|
|
|
|
{
|
|
|
|
Schema::create('pages', function (Blueprint $table) {
|
|
|
|
$table->id();
|
|
|
|
$table->text('terms')->nullable();
|
|
|
|
$table->text('privacy')->nullable();
|
|
|
|
$table->text('contact')->nullable();
|
|
|
|
$table->text('home_message')->nullable();
|
2022-02-23 20:19:15 +01:00
|
|
|
$table->text('register')->nullable();
|
2021-04-16 01:00:00 +02:00
|
|
|
$table->timestamps();
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reverse the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function down()
|
|
|
|
{
|
|
|
|
Schema::dropIfExists('pages');
|
|
|
|
}
|
|
|
|
}
|