mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
API: torrents upload/list
This commit is contained in:
+5
-6
@@ -11,11 +11,8 @@ return new class extends Migration
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('personal_access_token_plains', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->bigInteger('access_token_id')->unsigned();
|
||||
$table->string("plain_text_token");
|
||||
$table->timestamps();
|
||||
Schema::table('sitelog', function (Blueprint $table) {
|
||||
$table->integer('uid')->default(0);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -24,6 +21,8 @@ return new class extends Migration
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('personal_access_token_plains');
|
||||
Schema::table('sitelog', function (Blueprint $table) {
|
||||
$table->dropColumn('uid');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user