Nenhuma descrição

2021_06_01_000123_create_password_reminders_table.php 495B

123456789101112131415161718192021222324252627
  1. <?php
  2. use Illuminate\Database\Schema\Blueprint;
  3. use Illuminate\Database\Migrations\Migration;
  4. class CreatePasswordRemindersTable extends Migration
  5. {
  6. public function up()
  7. {
  8. Schema::create('password_reminders', function (Blueprint $table) {
  9. $table->string('email')->index();
  10. $table->string('token')->index();
  11. $table->timestamp('created_at');
  12. });
  13. }
  14. /**
  15. * Reverse the migrations.
  16. *
  17. * @return void
  18. */
  19. public function down()
  20. {
  21. Schema::drop('password_reminders');
  22. }
  23. }