char('id', 8)->unique(); ======= $table->char('id', 8)->primary(); >>>>>>> 972edfc66e6862c09c39b21902d4856409aa6157 $table->char('server_id', 8); $table->boolean('has_ipv6')->default(false); $table->boolean('aes')->default(false); $table->boolean('vm')->default(false); $table->dateTime('output_date'); $table->tinyInteger('cpu_cores'); $table->float('cpu_freq'); <<<<<<< HEAD $table->string('cpu'); ======= $table->string('cpu_model'); >>>>>>> 972edfc66e6862c09c39b21902d4856409aa6157 $table->float('ram'); $table->char('ram_type', 2); $table->float('ram_mb'); $table->float('disk'); $table->char('disk_type', 2); $table->float('disk_gb'); $table->integer('gb5_single'); $table->integer('gb5_multi'); $table->integer('gb5_id'); $table->timestamps(); <<<<<<< HEAD ======= $table->unique(['id','server_id'], 'uni'); >>>>>>> 972edfc66e6862c09c39b21902d4856409aa6157 }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('yabs'); } }