X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=database%2Fmigrations%2F2024_04_06_133645_sanctum_upgrade.php;fp=database%2Fmigrations%2F2024_04_06_133645_sanctum_upgrade.php;h=8d0eae9bff7f83c97421d28a65cdc7a6cb0780c5;hb=077e8e0e14d82c6fa1f90fe3e5b184c3ddc753a4;hp=0000000000000000000000000000000000000000;hpb=f335a6d4c82f4e42d3bfc857f0212ebf87652324;p=alttp.git diff --git a/database/migrations/2024_04_06_133645_sanctum_upgrade.php b/database/migrations/2024_04_06_133645_sanctum_upgrade.php new file mode 100644 index 0000000..8d0eae9 --- /dev/null +++ b/database/migrations/2024_04_06_133645_sanctum_upgrade.php @@ -0,0 +1,32 @@ +timestamp('expires_at')->nullable()->after('last_used_at'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('personal_access_tokens', function (Blueprint $table) { + $table->dropColumn('expires_at'); + }); + } +};