Ich Ich, gros commit
This commit is contained in:
@ -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');
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user