| 1234567891011121314151617181920212223242526272829303132333435363738 | 
							- <?php
 
- use Illuminate\Database\Migrations\Migration;
 
- use Illuminate\Database\Schema\Blueprint;
 
- use Illuminate\Support\Facades\Schema;
 
- class CreateProfilesTable extends Migration
 
- {
 
-     /**
 
-      * Run the migrations.
 
-      *
 
-      * @return void
 
-      */
 
-     public function up()
 
-     {
 
-         Schema::create('profiles', function (Blueprint $table) {
 
-             $table->id();
 
-             $table->unsignedBigInteger('user_id');
 
-             $table->string('title')->nullable();
 
-             $table->text('description')->nullable();
 
-             $table->string('url')->nullable();
 
-             $table->string('image')->nullable();
 
-             $table->timestamps();
 
-             $table->index('user_id');
 
-         });
 
-     }
 
-     /**
 
-      * Reverse the migrations.
 
-      *
 
-      * @return void
 
-      */
 
-     public function down()
 
-     {
 
-         Schema::dropIfExists('profiles');
 
-     }
 
- }
 
 
  |