Page MenuHomePhorge

2020_12_28_140000_create_groups_table.php
No OneTemporary

Size
883 B
Referenced Files
None
Subscribers
None

2020_12_28_140000_create_groups_table.php

<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
// phpcs:ignore
class CreateGroupsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create(
'groups',
function (Blueprint $table) {
$table->bigInteger('id');
$table->string('email')->unique();
$table->text('members')->nullable();
$table->smallInteger('status');
$table->timestamps();
$table->softDeletes();
$table->primary('id');
}
);
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('groups');
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Nov 21, 7:13 AM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
387418
Default Alt Text
2020_12_28_140000_create_groups_table.php (883 B)

Event Timeline