mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2024-12-11 17:59:48 +01:00
4e78b1a58f
Added option to disable registration.
37 lines
823 B
PHP
Executable File
37 lines
823 B
PHP
Executable File
<?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();
|
|
$table->text('register')->nullable();
|
|
$table->timestamps();
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('pages');
|
|
}
|
|
}
|