feat added custom pages

This commit is contained in:
Mathieu Lagace
2021-08-30 20:37:43 +00:00
parent 1bec8805a7
commit 935b63898c
509 changed files with 53583 additions and 235 deletions

View File

@@ -0,0 +1,35 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePublicPagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('public_pages', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('banner');
$table->text('header');
$table->longText('body');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('public_pages');
}
}