We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Lines | 17 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function up() |
||
| 29 | { |
||
| 30 | $this->schema->create( |
||
| 31 | 'invitation_requests', function (Blueprint $table) { |
||
| 32 | $table->increments('id'); |
||
| 33 | $table->string('first_name'); |
||
| 34 | $table->string('last_name'); |
||
| 35 | $table->string('guest_email')->unique(); |
||
| 36 | $table->integer('country_id')->unsigned(); |
||
| 37 | $table->string('token')->unique(); |
||
| 38 | $table->timestamps(); |
||
| 39 | |||
| 40 | $table->foreign('country_id')->references('id') |
||
| 41 | ->on('countries'); |
||
| 42 | } |
||
| 43 | ); |
||
| 44 | } |
||
| 45 | |||
| 56 |