mirror of
				https://github.com/cp6/my-idlers.git
				synced 2025-11-03 23:59:09 +00:00 
			
		
		
		
	Possible fix for YABs migration dropping multiple columns error
Possible fix for YABs migration dropping multiple columns error
This commit is contained in:
		
							parent
							
								
									59b3138dfb
								
							
						
					
					
						commit
						3b9ff1ab85
					
				
					 1 changed files with 1 additions and 6 deletions
				
			
		| 
						 | 
					@ -20,12 +20,7 @@ return new class extends Migration {
 | 
				
			||||||
    public function down()
 | 
					    public function down()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        Schema::table('yabs', function (Blueprint $table) {
 | 
					        Schema::table('yabs', function (Blueprint $table) {
 | 
				
			||||||
            $table->dropColumn('uptime');
 | 
					            $table->dropColumn(['uptime', 'distro', 'kernel', 'swap', 'swap_type', 'swap_mb']);
 | 
				
			||||||
            $table->dropColumn('distro');
 | 
					 | 
				
			||||||
            $table->dropColumn('kernel');
 | 
					 | 
				
			||||||
            $table->dropColumn('swap');
 | 
					 | 
				
			||||||
            $table->dropColumn('swap_type', 2);
 | 
					 | 
				
			||||||
            $table->dropColumn('swap_mb');
 | 
					 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue