Ich Ich, gros commit

This commit is contained in:
bglacial
2018-10-08 22:31:58 +02:00
parent ecded0947f
commit b11b2befd7
49 changed files with 37276 additions and 11977 deletions

View File

@ -16,8 +16,8 @@ class CreateKartsTable extends Migration
Schema::create('karts', function (Blueprint $table) {
$table->increments('id');
$table->string('name')->unique();
$table->integer('race_id')->unsigned();
$table->foreign('race_id')->references('id')->on('races')->onDelete('no action');
$table->dateTime('updated_at');
$table->dateTime('created_at');
});
}