diff --git a/database/migrations/2023_10_12_183306_ports_statistics_table_unsigned_stats.php b/database/migrations/2023_10_12_183306_ports_statistics_table_unsigned_stats.php index 46338f10e9..6227032d90 100644 --- a/database/migrations/2023_10_12_183306_ports_statistics_table_unsigned_stats.php +++ b/database/migrations/2023_10_12_183306_ports_statistics_table_unsigned_stats.php @@ -14,31 +14,22 @@ return new class extends Migration Schema::table('ports_statistics', function (Blueprint $table) { $table->bigInteger('ifInNUcastPkts')->unsigned()->nullable()->change(); $table->bigInteger('ifInNUcastPkts_prev')->unsigned()->nullable()->change(); - $table->bigInteger('ifInNUcastPkts_delta')->unsigned()->nullable()->change(); $table->bigInteger('ifOutNUcastPkts')->unsigned()->nullable()->change(); $table->bigInteger('ifOutNUcastPkts_prev')->unsigned()->nullable()->change(); - $table->bigInteger('ifOutNUcastPkts_delta')->unsigned()->nullable()->change(); $table->bigInteger('ifInDiscards')->unsigned()->nullable()->change(); $table->bigInteger('ifInDiscards_prev')->unsigned()->nullable()->change(); - $table->bigInteger('ifInDiscards_delta')->unsigned()->nullable()->change(); $table->bigInteger('ifOutDiscards')->unsigned()->nullable()->change(); $table->bigInteger('ifOutDiscards_prev')->unsigned()->nullable()->change(); - $table->bigInteger('ifOutDiscards_delta')->unsigned()->nullable()->change(); $table->bigInteger('ifInUnknownProtos')->unsigned()->nullable()->change(); $table->bigInteger('ifInUnknownProtos_prev')->unsigned()->nullable()->change(); - $table->bigInteger('ifInUnknownProtos_delta')->unsigned()->nullable()->change(); $table->bigInteger('ifInBroadcastPkts')->unsigned()->nullable()->change(); $table->bigInteger('ifInBroadcastPkts_prev')->unsigned()->nullable()->change(); - $table->bigInteger('ifInBroadcastPkts_delta')->unsigned()->nullable()->change(); $table->bigInteger('ifOutBroadcastPkts')->unsigned()->nullable()->change(); $table->bigInteger('ifOutBroadcastPkts_prev')->unsigned()->nullable()->change(); - $table->bigInteger('ifOutBroadcastPkts_delta')->unsigned()->nullable()->change(); $table->bigInteger('ifInMulticastPkts')->unsigned()->nullable()->change(); $table->bigInteger('ifInMulticastPkts_prev')->unsigned()->nullable()->change(); - $table->bigInteger('ifInMulticastPkts_delta')->unsigned()->nullable()->change(); $table->bigInteger('ifOutMulticastPkts')->unsigned()->nullable()->change(); $table->bigInteger('ifOutMulticastPkts_prev')->unsigned()->nullable()->change(); - $table->bigInteger('ifOutMulticastPkts_delta')->unsigned()->nullable()->change(); }); } diff --git a/database/migrations/2023_10_12_184311_bgp_peers_cbgp_table_unsigned_stats.php b/database/migrations/2023_10_12_184311_bgp_peers_cbgp_table_unsigned_stats.php index dbf3d52ade..30903b0233 100644 --- a/database/migrations/2023_10_12_184311_bgp_peers_cbgp_table_unsigned_stats.php +++ b/database/migrations/2023_10_12_184311_bgp_peers_cbgp_table_unsigned_stats.php @@ -20,15 +20,10 @@ return new class extends Migration $table->integer('AdvertisedPrefixes')->unsigned()->change(); $table->integer('SuppressedPrefixes')->unsigned()->change(); $table->integer('WithdrawnPrefixes')->unsigned()->change(); - $table->integer('AcceptedPrefixes_delta')->unsigned()->change(); $table->integer('AcceptedPrefixes_prev')->unsigned()->change(); - $table->integer('DeniedPrefixes_delta')->unsigned()->change(); $table->integer('DeniedPrefixes_prev')->unsigned()->change(); - $table->integer('AdvertisedPrefixes_delta')->unsigned()->change(); $table->integer('AdvertisedPrefixes_prev')->unsigned()->change(); - $table->integer('SuppressedPrefixes_delta')->unsigned()->change(); $table->integer('SuppressedPrefixes_prev')->unsigned()->change(); - $table->integer('WithdrawnPrefixes_delta')->unsigned()->change(); $table->integer('WithdrawnPrefixes_prev')->unsigned()->change(); }); }