diff --git a/database/migrations/2021_06_08_113437_create_torrents_table.php b/database/migrations/2021_06_08_113437_create_torrents_table.php index 4cf180fc..5287a597 100644 --- a/database/migrations/2021_06_08_113437_create_torrents_table.php +++ b/database/migrations/2021_06_08_113437_create_torrents_table.php @@ -58,7 +58,7 @@ class CreateTorrentsTable extends Migration $table->dateTime('picktime')->nullable(); $table->dateTime('last_reseed')->nullable(); $table->mediumText('pt_gen')->nullable(); - $table->integer('tags')->default(0); +// $table->integer('tags')->default(0); $table->text('technical_info')->nullable(); $table->index(['visible', 'pos_state', 'id'], 'visible_pos_id'); $table->index(['category', 'visible', 'banned'], 'category_visible_banned'); diff --git a/database/migrations/2022_03_08_042734_add_pt_gen_tags_technical_info_to_torrents_table.php b/database/migrations/2022_03_08_042734_add_pt_gen_tags_technical_info_to_torrents_table.php index 0b6ebf20..e522f6ca 100644 --- a/database/migrations/2022_03_08_042734_add_pt_gen_tags_technical_info_to_torrents_table.php +++ b/database/migrations/2022_03_08_042734_add_pt_gen_tags_technical_info_to_torrents_table.php @@ -17,9 +17,9 @@ class AddPtGenTagsTechnicalInfoToTorrentsTable extends Migration if (!Schema::hasColumn('torrents', 'pt_gen')) { $table->mediumText('pt_gen')->nullable(); } - if (!Schema::hasColumn('torrents', 'tags')) { - $table->integer('tags')->default(0); - } +// if (!Schema::hasColumn('torrents', 'tags')) { +// $table->integer('tags')->default(0); +// } if (!Schema::hasColumn('torrents', 'technical_info')) { $table->text('technical_info')->nullable(); }