increments('id'); $table->integer('event_id')->unsigned()->nullable(); $table->foreign('event_id')->references('id')->on('events'); $table->string('name'); $table->string('position')->nullable(); $table->string('google_code')->nullable(); $table->string('image')->nullable(); $table->string('jingle')->nullable(); $table->string('url')->nullable(); $table->boolean('online'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('event_advs'); } }