mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 10:27:33 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			47 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| use Illuminate\Database\Migrations\Migration;
 | |
| use Illuminate\Database\Schema\Blueprint;
 | |
| use Illuminate\Support\Facades\Schema;
 | |
| 
 | |
| class TasksInvoiceDocuments extends Migration
 | |
| {
 | |
|     /**
 | |
|      * Run the migrations.
 | |
|      *
 | |
|      * @return void
 | |
|      */
 | |
|     public function up()
 | |
|     {
 | |
|         Schema::table('tasks', function (Blueprint $table) {
 | |
|             $table->boolean('invoice_documents')->default(0);
 | |
|         });
 | |
| 
 | |
|         Schema::table('companies', function (Blueprint $table) {
 | |
|             $table->boolean('show_tasks_table')->default();
 | |
|         });
 | |
| 
 | |
|         Schema::table('invoice_invitations', function (Blueprint $table) {
 | |
|             $table->text('signature_ip')->nullable();
 | |
|         });
 | |
| 
 | |
|         Schema::table('quote_invitations', function (Blueprint $table) {
 | |
|             $table->text('signature_ip')->nullable();
 | |
|         });
 | |
| 
 | |
|         Schema::table('credit_invitations', function (Blueprint $table) {
 | |
|             $table->text('signature_ip')->nullable();
 | |
|         });
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Reverse the migrations.
 | |
|      *
 | |
|      * @return void
 | |
|      */
 | |
|     public function down()
 | |
|     {
 | |
|         //
 | |
|     }
 | |
| }
 |