diff --git a/Database/Migrations/2020_08_16_184956_fix_last_sync_fastdl_servers_table.php b/Database/Migrations/2020_08_16_184956_fix_last_sync_fastdl_servers_table.php new file mode 100644 index 0000000..349b662 --- /dev/null +++ b/Database/Migrations/2020_08_16_184956_fix_last_sync_fastdl_servers_table.php @@ -0,0 +1,40 @@ +dropColumn('last_sync'); + }); + + Schema::table('fastdl_servers', function (Blueprint $table) { + $table->timestamp('last_sync')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('fastdl_servers', function (Blueprint $table) { + $table->dropColumn('last_sync'); + }); + + Schema::table('fastdl_servers', function (Blueprint $table) { + $table->timestamp('last_sync'); + }); + } +}