Changeset View
Changeset View
Standalone View
Standalone View
src/database/migrations/2022_01_03_120000_signup_codes_indices.php
Show All 28 Lines | class SignupCodesIndices extends Migration | ||||
* | * | ||||
* @return void | * @return void | ||||
*/ | */ | ||||
public function down() | public function down() | ||||
{ | { | ||||
Schema::table( | Schema::table( | ||||
'signup_codes', | 'signup_codes', | ||||
function (Blueprint $table) { | function (Blueprint $table) { | ||||
$table->dropIndex('email'); | $table->dropIndex('signup_codes_email_index'); | ||||
$table->dropIndex('ip_address'); | $table->dropIndex('signup_codes_ip_address_index'); | ||||
$table->dropIndex('expires_at'); | $table->dropIndex('signup_codes_expires_at_index'); | ||||
} | } | ||||
); | ); | ||||
} | } | ||||
} | } |