sonarrradarrplexorganizrnginxdashboardlandingpagestartpagelandinghtpcserverhomepagesabnzbdheimdallembycouchpotatonzbgetbookmarkapplication-dashboardmuximux
		
		
		
		
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							41 lines
						
					
					
						
							1.0 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							41 lines
						
					
					
						
							1.0 KiB
						
					
					
				| <?php | |
| 
 | |
| use Illuminate\Support\Facades\Schema; | |
| use Illuminate\Database\Schema\Blueprint; | |
| use Illuminate\Database\Migrations\Migration; | |
| 
 | |
| class CreateApplicationsTable extends Migration | |
| { | |
|     /** | |
|      * Run the migrations. | |
|      * | |
|      * @return void | |
|      */ | |
|     public function up() | |
|     { | |
|         Schema::create('applications', function (Blueprint $table) { | |
|              | |
|             $table->increments('id'); | |
|             $table->string('name')->unique(); | |
|             $table->string('sha')->unique()->nullable(); | |
|             $table->string('icon')->nullable(); | |
|             $table->string('website')->nullable(); | |
|             $table->string('license')->nullable(); | |
|             $table->mediumText('description')->nullable(); | |
|             $table->boolean('enhanced')->default(false); | |
|             $table->string('tile_background')->default('dark'); | |
| 
 | |
|             $table->timestamps(); | |
|         }); | |
|     } | |
| 
 | |
|     /** | |
|      * Reverse the migrations. | |
|      * | |
|      * @return void | |
|      */ | |
|     public function down() | |
|     { | |
|         Schema::dropIfExists('applications'); | |
|     } | |
| }
 | |
| 
 |