mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-27 19:51:09 -04:00 
			
		
		
		
	fix formatting issues and create update migration
This commit is contained in:
		| @ -53,6 +53,7 @@ function get_page_title($company_id) | ||||
|         } | ||||
|  | ||||
|         $pageTitle = Setting::getSetting('admin_page_title'); | ||||
|  | ||||
|         return $pageTitle ? $pageTitle : $defaultPageTitle; | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -26,7 +26,7 @@ class AddOverdueToInvoicesTable extends Migration | ||||
|     public function down() | ||||
|     { | ||||
|         Schema::table('invoices', function (Blueprint $table) { | ||||
|              $table->dropForeign(['overdue']); | ||||
|             $table->dropForeign(['overdue']); | ||||
|         }); | ||||
|     } | ||||
| } | ||||
|  | ||||
							
								
								
									
										27
									
								
								database/migrations/2022_03_03_060121_crater_version_605.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								database/migrations/2022_03_03_060121_crater_version_605.php
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,27 @@ | ||||
| <?php | ||||
|  | ||||
| use Crater\Models\Setting; | ||||
| use Illuminate\Database\Migrations\Migration; | ||||
|  | ||||
| class CraterVersion605 extends Migration | ||||
| { | ||||
|     /** | ||||
|      * Run the migrations. | ||||
|      * | ||||
|      * @return void | ||||
|      */ | ||||
|     public function up() | ||||
|     { | ||||
|         Setting::setSetting('version', '6.0.5'); | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * Reverse the migrations. | ||||
|      * | ||||
|      * @return void | ||||
|      */ | ||||
|     public function down() | ||||
|     { | ||||
|         // | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user