sonarrradarrplexorganizrnginxdashboardhtpcserverhomepagesabnzbdheimdallembycouchpotatonzbgetbookmarkapplication-dashboardmuximuxlandingpagestartpagelanding
		
		
		
		
			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.
		
		
		
		
		
			
		
			
				
					
					
						
							39 lines
						
					
					
						
							949 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							39 lines
						
					
					
						
							949 B
						
					
					
				
								<?php
							 | 
						|
								
							 | 
						|
								use Illuminate\Support\Facades\Schema;
							 | 
						|
								use Illuminate\Database\Schema\Blueprint;
							 | 
						|
								use Illuminate\Database\Migrations\Migration;
							 | 
						|
								
							 | 
						|
								class CreateItemsTable extends Migration
							 | 
						|
								{
							 | 
						|
								    /**
							 | 
						|
								     * Run the migrations.
							 | 
						|
								     *
							 | 
						|
								     * @return void
							 | 
						|
								     */
							 | 
						|
								    public function up()
							 | 
						|
								    {
							 | 
						|
								        Schema::create('items', function (Blueprint $table) {
							 | 
						|
								            $table->increments('id');
							 | 
						|
								            $table->string('title');
							 | 
						|
								            $table->string('colour')->nullable();
							 | 
						|
								            $table->string('icon')->nullable();
							 | 
						|
								            $table->string('url');
							 | 
						|
								            $table->text('description')->nullable();
							 | 
						|
								            $table->boolean('pinned')->default(false);
							 | 
						|
								            $table->integer('order')->default(0);
							 | 
						|
								            $table->softDeletes();
							 | 
						|
								            $table->timestamps();
							 | 
						|
								        });
							 | 
						|
								    }
							 | 
						|
								
							 | 
						|
								    /**
							 | 
						|
								     * Reverse the migrations.
							 | 
						|
								     *
							 | 
						|
								     * @return void
							 | 
						|
								     */
							 | 
						|
								    public function down()
							 | 
						|
								    {
							 | 
						|
								        Schema::dropIfExists('items');
							 | 
						|
								    }
							 | 
						|
								}
							 | 
						|
								
							 |