690abe03ba
Added all the plugins from adminlite, added usefulllinks tab
37 lines
791 B
PHP
37 lines
791 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Support\Facades\DB;
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
class CreateUsefulLinksTable extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('useful_links', function (Blueprint $table) {
|
|
$table->id();
|
|
$table->string('icon');
|
|
$table->string('title');
|
|
$table->string('link')->nullable();
|
|
$table->text('description');
|
|
$table->timestamps();
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('useful_links');
|
|
}
|
|
}
|