Ignore:
Timestamp:
09/27/21 23:25:43 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
582789f
Parents:
2fc88ec
Message:

added user authentication, create & forgot password methods and blades

File:
1 moved

Legend:

Unmodified
Added
Removed
  • database/migrations/2021_09_27_171104_create_roles_table.php

    r2fc88ec r7304c7f  
    11<?php
    22
     3use Illuminate\Support\Facades\Schema;
     4use Illuminate\Database\Schema\Blueprint;
    35use Illuminate\Database\Migrations\Migration;
    4 use Illuminate\Database\Schema\Blueprint;
    5 use Illuminate\Support\Facades\Schema;
    66
    7 class CreateUsersTable extends Migration
     7class CreateRolesTable extends Migration
    88{
    99    /**
     
    1414    public function up()
    1515    {
    16         Schema::create('users', function (Blueprint $table) {
    17             $table->id();
     16        Schema::create('roles', function (Blueprint $table) {
     17            $table->increments('id');
    1818            $table->string('name');
    19             $table->string('email')->unique();
    20             $table->timestamp('email_verified_at')->nullable();
    21             $table->string('password');
    22             $table->rememberToken();
    23             $table->timestamps();
    2419        });
    2520    }
     
    3227    public function down()
    3328    {
    34         Schema::dropIfExists('users');
     29        Schema::dropIfExists('roles');
    3530    }
    3631}
Note: See TracChangeset for help on using the changeset viewer.