Changeset 7304c7f for database/migrations
- Timestamp:
- 09/27/21 23:25:43 (3 years ago)
- Branches:
- develop, master
- Children:
- 582789f
- Parents:
- 2fc88ec
- Location:
- database/migrations
- Files:
-
- 3 added
- 2 deleted
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
database/migrations/2021_09_27_171104_create_roles_table.php
r2fc88ec r7304c7f 1 1 <?php 2 2 3 use Illuminate\Support\Facades\Schema; 4 use Illuminate\Database\Schema\Blueprint; 3 5 use Illuminate\Database\Migrations\Migration; 4 use Illuminate\Database\Schema\Blueprint;5 use Illuminate\Support\Facades\Schema;6 6 7 class Create UsersTable extends Migration7 class CreateRolesTable extends Migration 8 8 { 9 9 /** … … 14 14 public function up() 15 15 { 16 Schema::create(' users', function (Blueprint $table) {17 $table->i d();16 Schema::create('roles', function (Blueprint $table) { 17 $table->increments('id'); 18 18 $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();24 19 }); 25 20 } … … 32 27 public function down() 33 28 { 34 Schema::dropIfExists(' users');29 Schema::dropIfExists('roles'); 35 30 } 36 31 } -
database/migrations/2021_09_27_171108_create_password_resets_table.php
r2fc88ec r7304c7f 1 1 <?php 2 2 3 use Illuminate\Support\Facades\Schema; 4 use Illuminate\Database\Schema\Blueprint; 3 5 use Illuminate\Database\Migrations\Migration; 4 use Illuminate\Database\Schema\Blueprint;5 use Illuminate\Support\Facades\Schema;6 6 7 7 class CreatePasswordResetsTable extends Migration
Note:
See TracChangeset
for help on using the changeset viewer.