mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
fix rss sticky
This commit is contained in:
@@ -17,7 +17,7 @@ class CreateAgentAllowedFamilyTable extends Migration
|
||||
return;
|
||||
}
|
||||
Schema::create('agent_allowed_family', function (Blueprint $table) {
|
||||
$table->tinyIncrements('id');
|
||||
$table->increments('id');
|
||||
$table->string('family', 50)->default('');
|
||||
$table->string('start_name', 100)->default('');
|
||||
$table->string('peer_id_pattern', 200)->default('');
|
||||
|
||||
@@ -17,7 +17,7 @@ class CreateAudiocodecsTable extends Migration
|
||||
return;
|
||||
}
|
||||
Schema::create('audiocodecs', function (Blueprint $table) {
|
||||
$table->tinyIncrements('id');
|
||||
$table->increments('id');
|
||||
$table->string('name', 30)->default('');
|
||||
$table->string('image')->default('');
|
||||
$table->unsignedTinyInteger('sort_index')->default(0);
|
||||
|
||||
@@ -17,7 +17,7 @@ class CreateCaticonsTable extends Migration
|
||||
return;
|
||||
}
|
||||
Schema::create('caticons', function (Blueprint $table) {
|
||||
$table->tinyIncrements('id');
|
||||
$table->increments('id');
|
||||
$table->string('name', 64)->default('');
|
||||
$table->string('folder')->default('');
|
||||
$table->string('cssfile')->default('');
|
||||
|
||||
@@ -17,7 +17,7 @@ class CreateCodecsTable extends Migration
|
||||
return;
|
||||
}
|
||||
Schema::create('codecs', function (Blueprint $table) {
|
||||
$table->tinyIncrements('id');
|
||||
$table->increments('id');
|
||||
$table->string('name', 30)->default('');
|
||||
$table->unsignedTinyInteger('sort_index')->default(0);
|
||||
});
|
||||
|
||||
@@ -17,7 +17,7 @@ class CreateDownloadspeedTable extends Migration
|
||||
return;
|
||||
}
|
||||
Schema::create('downloadspeed', function (Blueprint $table) {
|
||||
$table->tinyIncrements('id');
|
||||
$table->increments('id');
|
||||
$table->string('name', 50)->default('');
|
||||
});
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ class CreateIspTable extends Migration
|
||||
return;
|
||||
}
|
||||
Schema::create('isp', function (Blueprint $table) {
|
||||
$table->tinyIncrements('id');
|
||||
$table->increments('id');
|
||||
$table->string('name', 50)->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ class CreateLinksTable extends Migration
|
||||
return;
|
||||
}
|
||||
Schema::create('links', function (Blueprint $table) {
|
||||
$table->tinyIncrements('id');
|
||||
$table->increments('id');
|
||||
$table->string('name', 30)->default('');
|
||||
$table->string('url')->default('');
|
||||
$table->string('title', 50)->default('');
|
||||
|
||||
@@ -17,7 +17,7 @@ class CreateMediaTable extends Migration
|
||||
return;
|
||||
}
|
||||
Schema::create('media', function (Blueprint $table) {
|
||||
$table->tinyIncrements('id');
|
||||
$table->increments('id');
|
||||
$table->string('name', 30)->default('');
|
||||
$table->unsignedTinyInteger('sort_index')->default(0);
|
||||
});
|
||||
|
||||
@@ -17,7 +17,7 @@ class CreateProcessingsTable extends Migration
|
||||
return;
|
||||
}
|
||||
Schema::create('processings', function (Blueprint $table) {
|
||||
$table->tinyIncrements('id');
|
||||
$table->increments('id');
|
||||
$table->string('name', 30)->default('');
|
||||
$table->unsignedTinyInteger('sort_index')->default(0);
|
||||
});
|
||||
|
||||
@@ -31,7 +31,7 @@ class CreateSnatchedTable extends Migration
|
||||
$table->dateTime('startdat')->nullable();
|
||||
$table->dateTime('completedat')->nullable();
|
||||
$table->enum('finished', ['yes', 'no'])->default('no');
|
||||
$table->index(['torrentid', 'userid'], 'torrentid_userid');
|
||||
$table->unique(['torrentid', 'userid'], 'torrentid_userid');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ class CreateSourcesTable extends Migration
|
||||
return;
|
||||
}
|
||||
Schema::create('sources', function (Blueprint $table) {
|
||||
$table->tinyIncrements('id');
|
||||
$table->increments('id');
|
||||
$table->string('name', 30)->default('');
|
||||
$table->unsignedTinyInteger('sort_index')->default(0);
|
||||
});
|
||||
|
||||
@@ -17,7 +17,7 @@ class CreateStandardsTable extends Migration
|
||||
return;
|
||||
}
|
||||
Schema::create('standards', function (Blueprint $table) {
|
||||
$table->tinyIncrements('id');
|
||||
$table->increments('id');
|
||||
$table->string('name', 30)->default('');
|
||||
$table->unsignedTinyInteger('sort_index')->default(0);
|
||||
});
|
||||
|
||||
@@ -17,7 +17,7 @@ class CreateStylesheetsTable extends Migration
|
||||
return;
|
||||
}
|
||||
Schema::create('stylesheets', function (Blueprint $table) {
|
||||
$table->tinyIncrements('id');
|
||||
$table->increments('id');
|
||||
$table->string('uri')->default('');
|
||||
$table->string('name', 64)->default('');
|
||||
$table->text('addicode')->nullable();
|
||||
|
||||
@@ -17,7 +17,7 @@ class CreateTeamsTable extends Migration
|
||||
return;
|
||||
}
|
||||
Schema::create('teams', function (Blueprint $table) {
|
||||
$table->tinyIncrements('id');
|
||||
$table->increments('id');
|
||||
$table->string('name', 30)->default('');
|
||||
$table->unsignedTinyInteger('sort_index')->default(0);
|
||||
});
|
||||
|
||||
@@ -17,7 +17,7 @@ class CreateUploadspeedTable extends Migration
|
||||
return;
|
||||
}
|
||||
Schema::create('uploadspeed', function (Blueprint $table) {
|
||||
$table->tinyIncrements('id');
|
||||
$table->increments('id');
|
||||
$table->string('name', 50)->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user