restore composer.json, add mysqli extension
This commit is contained in:
24
database/migrations/2019_09_20_155516_create_brends_table.php
Executable file
24
database/migrations/2019_09_20_155516_create_brends_table.php
Executable file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CreateBrendsTable extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::create('brands', function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->jsonb('name');
|
||||
$table->string('image');
|
||||
$table->string('slug')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('brands');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user