add airline reference to PIREP

This commit is contained in:
Nabeel Shahzad 2017-07-23 09:45:33 -05:00
parent 0dcdd5cba5
commit 9986f5df33
3 changed files with 150 additions and 128 deletions

View File

@ -72,6 +72,11 @@ class Pirep extends Model
return $this->belongsTo('App\Models\Aircraft', 'aircraft_id');
}
public function airline()
{
return $this->belongsTo('App\Models\Airline', 'airline_id');
}
public function arr_airport()
{
return $this->belongsTo('App\Models\Airport', 'arr_airport_id');

268
composer.lock generated
View File

@ -54,16 +54,16 @@
},
{
"name": "barryvdh/laravel-ide-helper",
"version": "v2.4.0",
"version": "v2.4.1",
"source": {
"type": "git",
"url": "https://github.com/barryvdh/laravel-ide-helper.git",
"reference": "87a02ff574f722c685e011f76692ab869ab64f6c"
"reference": "2b1273c45e2f8df7a625563e2283a17c14f02ae8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/87a02ff574f722c685e011f76692ab869ab64f6c",
"reference": "87a02ff574f722c685e011f76692ab869ab64f6c",
"url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/2b1273c45e2f8df7a625563e2283a17c14f02ae8",
"reference": "2b1273c45e2f8df7a625563e2283a17c14f02ae8",
"shasum": ""
},
"require": {
@ -123,7 +123,7 @@
"phpstorm",
"sublime"
],
"time": "2017-06-16T14:08:59+00:00"
"time": "2017-07-16T00:24:12+00:00"
},
{
"name": "barryvdh/reflection-docblock",
@ -332,21 +332,21 @@
},
{
"name": "doctrine/annotations",
"version": "v1.4.0",
"version": "v1.5.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/annotations.git",
"reference": "54cacc9b81758b14e3ce750f205a393d52339e97"
"reference": "5beebb01b025c94e93686b7a0ed3edae81fe3e7f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/annotations/zipball/54cacc9b81758b14e3ce750f205a393d52339e97",
"reference": "54cacc9b81758b14e3ce750f205a393d52339e97",
"url": "https://api.github.com/repos/doctrine/annotations/zipball/5beebb01b025c94e93686b7a0ed3edae81fe3e7f",
"reference": "5beebb01b025c94e93686b7a0ed3edae81fe3e7f",
"shasum": ""
},
"require": {
"doctrine/lexer": "1.*",
"php": "^5.6 || ^7.0"
"php": "^7.1"
},
"require-dev": {
"doctrine/cache": "1.*",
@ -355,7 +355,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.4.x-dev"
"dev-master": "1.5.x-dev"
}
},
"autoload": {
@ -396,37 +396,41 @@
"docblock",
"parser"
],
"time": "2017-02-24T16:22:25+00:00"
"time": "2017-07-22T10:58:02+00:00"
},
{
"name": "doctrine/cache",
"version": "v1.6.1",
"version": "v1.7.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/cache.git",
"reference": "b6f544a20f4807e81f7044d31e679ccbb1866dc3"
"reference": "53d9518ffeb019c51d542ff60cb578f076d3ff16"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/cache/zipball/b6f544a20f4807e81f7044d31e679ccbb1866dc3",
"reference": "b6f544a20f4807e81f7044d31e679ccbb1866dc3",
"url": "https://api.github.com/repos/doctrine/cache/zipball/53d9518ffeb019c51d542ff60cb578f076d3ff16",
"reference": "53d9518ffeb019c51d542ff60cb578f076d3ff16",
"shasum": ""
},
"require": {
"php": "~5.5|~7.0"
"php": "~7.1"
},
"conflict": {
"doctrine/common": ">2.2,<2.4"
},
"require-dev": {
"phpunit/phpunit": "~4.8|~5.0",
"predis/predis": "~1.0",
"satooshi/php-coveralls": "~0.6"
"alcaeus/mongo-php-adapter": "^1.1",
"mongodb/mongodb": "^1.1",
"phpunit/phpunit": "^5.7",
"predis/predis": "~1.0"
},
"suggest": {
"alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.6.x-dev"
"dev-master": "1.7.x-dev"
}
},
"autoload": {
@ -466,24 +470,24 @@
"cache",
"caching"
],
"time": "2016-10-29T11:16:17+00:00"
"time": "2017-07-22T13:00:15+00:00"
},
{
"name": "doctrine/collections",
"version": "v1.4.0",
"version": "v1.5.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/collections.git",
"reference": "1a4fb7e902202c33cce8c55989b945612943c2ba"
"reference": "a01ee38fcd999f34d9bfbcee59dbda5105449cbf"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/collections/zipball/1a4fb7e902202c33cce8c55989b945612943c2ba",
"reference": "1a4fb7e902202c33cce8c55989b945612943c2ba",
"url": "https://api.github.com/repos/doctrine/collections/zipball/a01ee38fcd999f34d9bfbcee59dbda5105449cbf",
"reference": "a01ee38fcd999f34d9bfbcee59dbda5105449cbf",
"shasum": ""
},
"require": {
"php": "^5.6 || ^7.0"
"php": "^7.1"
},
"require-dev": {
"doctrine/coding-standard": "~0.1@dev",
@ -533,20 +537,20 @@
"collections",
"iterator"
],
"time": "2017-01-03T10:49:41+00:00"
"time": "2017-07-22T10:37:32+00:00"
},
{
"name": "doctrine/common",
"version": "v2.7.2",
"version": "v2.8.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/common.git",
"reference": "930297026c8009a567ac051fd545bf6124150347"
"reference": "ed349f953d443963c590b008b37b864b8a3c4b21"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/common/zipball/930297026c8009a567ac051fd545bf6124150347",
"reference": "930297026c8009a567ac051fd545bf6124150347",
"url": "https://api.github.com/repos/doctrine/common/zipball/ed349f953d443963c590b008b37b864b8a3c4b21",
"reference": "ed349f953d443963c590b008b37b864b8a3c4b21",
"shasum": ""
},
"require": {
@ -555,15 +559,15 @@
"doctrine/collections": "1.*",
"doctrine/inflector": "1.*",
"doctrine/lexer": "1.*",
"php": "~5.6|~7.0"
"php": "~7.1"
},
"require-dev": {
"phpunit/phpunit": "^5.4.6"
"phpunit/phpunit": "^5.7"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.7.x-dev"
"dev-master": "2.8.x-dev"
}
},
"autoload": {
@ -606,28 +610,30 @@
"persistence",
"spl"
],
"time": "2017-01-13T14:02:13+00:00"
"time": "2017-07-22T09:01:43+00:00"
},
{
"name": "doctrine/dbal",
"version": "v2.5.12",
"version": "v2.6.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/dbal.git",
"reference": "7b9e911f9d8b30d43b96853dab26898c710d8f44"
"reference": "498760e55195ccaf08076cb9100a2972ba74c001"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/7b9e911f9d8b30d43b96853dab26898c710d8f44",
"reference": "7b9e911f9d8b30d43b96853dab26898c710d8f44",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/498760e55195ccaf08076cb9100a2972ba74c001",
"reference": "498760e55195ccaf08076cb9100a2972ba74c001",
"shasum": ""
},
"require": {
"doctrine/common": ">=2.4,<2.8-dev",
"php": ">=5.3.2"
"doctrine/common": "^2.7.1",
"ext-pdo": "*",
"php": "^7.1"
},
"require-dev": {
"phpunit/phpunit": "4.*",
"phpunit/phpunit": "^5.4.6",
"phpunit/phpunit-mock-objects": "!=3.2.4,!=3.2.5",
"symfony/console": "2.*||^3.0"
},
"suggest": {
@ -639,7 +645,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.5.x-dev"
"dev-master": "2.6.x-dev"
}
},
"autoload": {
@ -677,37 +683,37 @@
"persistence",
"queryobject"
],
"time": "2017-02-08T12:53:47+00:00"
"time": "2017-07-23T01:02:22+00:00"
},
{
"name": "doctrine/inflector",
"version": "v1.1.0",
"version": "v1.2.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/inflector.git",
"reference": "90b2128806bfde671b6952ab8bea493942c1fdae"
"reference": "e11d84c6e018beedd929cff5220969a3c6d1d462"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/inflector/zipball/90b2128806bfde671b6952ab8bea493942c1fdae",
"reference": "90b2128806bfde671b6952ab8bea493942c1fdae",
"url": "https://api.github.com/repos/doctrine/inflector/zipball/e11d84c6e018beedd929cff5220969a3c6d1d462",
"reference": "e11d84c6e018beedd929cff5220969a3c6d1d462",
"shasum": ""
},
"require": {
"php": ">=5.3.2"
"php": "^7.0"
},
"require-dev": {
"phpunit/phpunit": "4.*"
"phpunit/phpunit": "^6.2"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.1.x-dev"
"dev-master": "1.2.x-dev"
}
},
"autoload": {
"psr-0": {
"Doctrine\\Common\\Inflector\\": "lib/"
"psr-4": {
"Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector"
}
},
"notification-url": "https://packagist.org/downloads/",
@ -744,7 +750,7 @@
"singularize",
"string"
],
"time": "2015-11-06T14:35:42+00:00"
"time": "2017-07-22T12:18:28+00:00"
},
{
"name": "doctrine/lexer",
@ -1373,16 +1379,16 @@
},
{
"name": "laravel/framework",
"version": "v5.4.28",
"version": "v5.4.30",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
"reference": "442511fc62121085d184355e4f964c88942bbecb"
"reference": "b9a64955f4278f45ac348a6e000b5ecc85da167a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/442511fc62121085d184355e4f964c88942bbecb",
"reference": "442511fc62121085d184355e4f964c88942bbecb",
"url": "https://api.github.com/repos/laravel/framework/zipball/b9a64955f4278f45ac348a6e000b5ecc85da167a",
"reference": "b9a64955f4278f45ac348a6e000b5ecc85da167a",
"shasum": ""
},
"require": {
@ -1498,7 +1504,7 @@
"framework",
"laravel"
],
"time": "2017-06-30T13:43:07+00:00"
"time": "2017-07-19T19:26:19+00:00"
},
{
"name": "laravelcollective/html",
@ -2621,16 +2627,16 @@
},
{
"name": "spatie/fractalistic",
"version": "2.3.0",
"version": "2.3.1",
"source": {
"type": "git",
"url": "https://github.com/spatie/fractalistic.git",
"reference": "79a48d949bc053a1c60c934f727f5901bf35fa74"
"reference": "2bba98fd266d4691395904be6d981bd09150802f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/fractalistic/zipball/79a48d949bc053a1c60c934f727f5901bf35fa74",
"reference": "79a48d949bc053a1c60c934f727f5901bf35fa74",
"url": "https://api.github.com/repos/spatie/fractalistic/zipball/2bba98fd266d4691395904be6d981bd09150802f",
"reference": "2bba98fd266d4691395904be6d981bd09150802f",
"shasum": ""
},
"require": {
@ -2668,20 +2674,20 @@
"spatie",
"transform"
],
"time": "2017-07-03T08:20:31+00:00"
"time": "2017-07-21T23:08:30+00:00"
},
{
"name": "spatie/laravel-fractal",
"version": "4.01",
"version": "4.2.0",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-fractal.git",
"reference": "3b95780f5f3ca79e29d445a5df87eac9f7c7c053"
"reference": "c28e773d1bd68a0cc1b607e1b65ac276f465880e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-fractal/zipball/3b95780f5f3ca79e29d445a5df87eac9f7c7c053",
"reference": "3b95780f5f3ca79e29d445a5df87eac9f7c7c053",
"url": "https://api.github.com/repos/spatie/laravel-fractal/zipball/c28e773d1bd68a0cc1b607e1b65ac276f465880e",
"reference": "c28e773d1bd68a0cc1b607e1b65ac276f465880e",
"shasum": ""
},
"require": {
@ -2695,6 +2701,16 @@
"phpunit/phpunit": "^5.7.5"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"Spatie\\Fractal\\FractalServiceProvider"
],
"aliases": {
"Fractal": "Spatie\\Fractal\\FractalFacade"
}
}
},
"autoload": {
"psr-4": {
"Spatie\\Fractal\\": "src"
@ -2726,7 +2742,7 @@
"spatie",
"transform"
],
"time": "2017-05-05T19:01:43+00:00"
"time": "2017-07-18T07:28:13+00:00"
},
{
"name": "spatie/laravel-pjax",
@ -2836,7 +2852,7 @@
},
{
"name": "symfony/class-loader",
"version": "v3.3.4",
"version": "v3.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/class-loader.git",
@ -2892,7 +2908,7 @@
},
{
"name": "symfony/console",
"version": "v3.3.4",
"version": "v3.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
@ -3014,7 +3030,7 @@
},
{
"name": "symfony/debug",
"version": "v3.3.4",
"version": "v3.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/debug.git",
@ -3126,7 +3142,7 @@
},
{
"name": "symfony/event-dispatcher",
"version": "v3.3.4",
"version": "v3.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
@ -3189,7 +3205,7 @@
},
{
"name": "symfony/finder",
"version": "v3.3.4",
"version": "v3.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
@ -3238,16 +3254,16 @@
},
{
"name": "symfony/http-foundation",
"version": "v3.3.4",
"version": "v3.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "f347a5f561b03db95ed666959db42bbbf429b7e5"
"reference": "e307abe4b79ccbbfdced9b91c132fd128f456bc5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/f347a5f561b03db95ed666959db42bbbf429b7e5",
"reference": "f347a5f561b03db95ed666959db42bbbf429b7e5",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/e307abe4b79ccbbfdced9b91c132fd128f456bc5",
"reference": "e307abe4b79ccbbfdced9b91c132fd128f456bc5",
"shasum": ""
},
"require": {
@ -3287,20 +3303,20 @@
],
"description": "Symfony HttpFoundation Component",
"homepage": "https://symfony.com",
"time": "2017-06-24T09:29:48+00:00"
"time": "2017-07-17T14:07:10+00:00"
},
{
"name": "symfony/http-kernel",
"version": "v3.3.4",
"version": "v3.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "33f87c957122cfbd9d90de48698ee074b71106ea"
"reference": "16ceea64d23abddf58797a782ae96a5242282cd8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/33f87c957122cfbd9d90de48698ee074b71106ea",
"reference": "33f87c957122cfbd9d90de48698ee074b71106ea",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/16ceea64d23abddf58797a782ae96a5242282cd8",
"reference": "16ceea64d23abddf58797a782ae96a5242282cd8",
"shasum": ""
},
"require": {
@ -3373,11 +3389,11 @@
],
"description": "Symfony HttpKernel Component",
"homepage": "https://symfony.com",
"time": "2017-07-05T13:28:15+00:00"
"time": "2017-07-17T19:08:23+00:00"
},
{
"name": "symfony/inflector",
"version": "v3.3.4",
"version": "v3.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/inflector.git",
@ -3660,16 +3676,16 @@
},
{
"name": "symfony/process",
"version": "v3.3.4",
"version": "v3.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
"reference": "5ab8949b682b1bf9d4511a228b5e045c96758c30"
"reference": "07432804942b9f6dd7b7377faf9920af5f95d70a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/5ab8949b682b1bf9d4511a228b5e045c96758c30",
"reference": "5ab8949b682b1bf9d4511a228b5e045c96758c30",
"url": "https://api.github.com/repos/symfony/process/zipball/07432804942b9f6dd7b7377faf9920af5f95d70a",
"reference": "07432804942b9f6dd7b7377faf9920af5f95d70a",
"shasum": ""
},
"require": {
@ -3705,11 +3721,11 @@
],
"description": "Symfony Process Component",
"homepage": "https://symfony.com",
"time": "2017-07-03T08:12:02+00:00"
"time": "2017-07-13T13:05:09+00:00"
},
{
"name": "symfony/property-access",
"version": "v3.3.4",
"version": "v3.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/property-access.git",
@ -3777,7 +3793,7 @@
},
{
"name": "symfony/routing",
"version": "v3.3.4",
"version": "v3.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
@ -3855,16 +3871,16 @@
},
{
"name": "symfony/serializer",
"version": "v3.3.4",
"version": "v3.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/serializer.git",
"reference": "419d82243c0f9b4978d780c31f39163770e4436b"
"reference": "cca77dd2eb9abc0411c98ba448b3a1e92816bbe1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/serializer/zipball/419d82243c0f9b4978d780c31f39163770e4436b",
"reference": "419d82243c0f9b4978d780c31f39163770e4436b",
"url": "https://api.github.com/repos/symfony/serializer/zipball/cca77dd2eb9abc0411c98ba448b3a1e92816bbe1",
"reference": "cca77dd2eb9abc0411c98ba448b3a1e92816bbe1",
"shasum": ""
},
"require": {
@ -3928,11 +3944,11 @@
],
"description": "Symfony Serializer Component",
"homepage": "https://symfony.com",
"time": "2017-07-04T05:29:22+00:00"
"time": "2017-07-11T07:17:58+00:00"
},
{
"name": "symfony/translation",
"version": "v3.3.4",
"version": "v3.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
@ -3997,16 +4013,16 @@
},
{
"name": "symfony/var-dumper",
"version": "v3.3.4",
"version": "v3.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "9ee920bba1d2ce877496dcafca7cbffff4dbe08a"
"reference": "0f32b62d21991700250fed5109b092949007c5b3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/9ee920bba1d2ce877496dcafca7cbffff4dbe08a",
"reference": "9ee920bba1d2ce877496dcafca7cbffff4dbe08a",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/0f32b62d21991700250fed5109b092949007c5b3",
"reference": "0f32b62d21991700250fed5109b092949007c5b3",
"shasum": ""
},
"require": {
@ -4061,11 +4077,11 @@
"debug",
"dump"
],
"time": "2017-07-05T13:02:37+00:00"
"time": "2017-07-10T14:18:27+00:00"
},
{
"name": "symfony/yaml",
"version": "v3.3.4",
"version": "v3.3.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
@ -4637,32 +4653,32 @@
"packages-dev": [
{
"name": "doctrine/instantiator",
"version": "1.0.5",
"version": "1.1.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/instantiator.git",
"reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
"reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
"reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
"url": "https://api.github.com/repos/doctrine/instantiator/zipball/185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
"reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
"shasum": ""
},
"require": {
"php": ">=5.3,<8.0-DEV"
"php": "^7.1"
},
"require-dev": {
"athletic/athletic": "~0.1.8",
"ext-pdo": "*",
"ext-phar": "*",
"phpunit/phpunit": "~4.0",
"squizlabs/php_codesniffer": "~2.0"
"phpunit/phpunit": "^6.2.3",
"squizlabs/php_codesniffer": "^3.0.2"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
"dev-master": "1.2.x-dev"
}
},
"autoload": {
@ -4687,7 +4703,7 @@
"constructor",
"instantiate"
],
"time": "2015-06-14T21:17:01+00:00"
"time": "2017-07-22T11:58:36+00:00"
},
{
"name": "fzaninotto/faker",
@ -4995,22 +5011,22 @@
},
{
"name": "phpdocumentor/reflection-docblock",
"version": "3.1.1",
"version": "3.2.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
"reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
"reference": "46f7e8bb075036c92695b15a1ddb6971c751e585"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
"reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/46f7e8bb075036c92695b15a1ddb6971c751e585",
"reference": "46f7e8bb075036c92695b15a1ddb6971c751e585",
"shasum": ""
},
"require": {
"php": ">=5.5",
"phpdocumentor/reflection-common": "^1.0@dev",
"phpdocumentor/type-resolver": "^0.2.0",
"phpdocumentor/type-resolver": "^0.4.0",
"webmozart/assert": "^1.0"
},
"require-dev": {
@ -5036,24 +5052,24 @@
}
],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"time": "2016-09-30T07:12:33+00:00"
"time": "2017-07-15T11:38:20+00:00"
},
{
"name": "phpdocumentor/type-resolver",
"version": "0.2.1",
"version": "0.4.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git",
"reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
"reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
"reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
"reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
"shasum": ""
},
"require": {
"php": ">=5.5",
"php": "^5.5 || ^7.0",
"phpdocumentor/reflection-common": "^1.0"
},
"require-dev": {
@ -5083,7 +5099,7 @@
"email": "me@mikevanriel.com"
}
],
"time": "2016-11-25T06:54:22+00:00"
"time": "2017-07-14T14:27:02+00:00"
},
{
"name": "phpspec/prophecy",

View File

@ -15,9 +15,10 @@ class CreatePirepsTable extends Migration
{
Schema::create('pireps', function (Blueprint $table) {
$table->uuid('id');
$table->integer('user_id');
$table->integer('user_id')->unsigned();
$table->integer('airline_id')->unsigned()->nullable();
$table->uuid('flight_id')->nullable();
$table->integer('aircraft_id');
$table->integer('aircraft_id')->nullable();
$table->string('route_code', 5)->nullable();
$table->string('route_leg', 5)->nullable();
$table->integer('dpt_airport_id')->unsigned();