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 | 19 |
| Lines | 19 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function up() |
||
| 29 | { |
||
| 30 | $this->schema->create( |
||
| 31 | 'campaigns', function (Blueprint $table) { |
||
| 32 | $table->uuid('id')->unique()->primary(); |
||
| 33 | $table->string('title'); |
||
| 34 | $table->text('description'); |
||
| 35 | $table->string('image')->nullable(); |
||
| 36 | $table->dateTimeTz('expires'); |
||
| 37 | $table->uuid('user_id'); |
||
| 38 | $table->string('slug'); |
||
| 39 | $table->timestamps(); |
||
| 40 | $table->softDeletes(); |
||
| 41 | |||
| 42 | // $table->foreign('user_id')->references('id')->on('users') |
||
| 43 | // ->onDelete('cascade'); |
||
| 44 | } |
||
| 45 | ); |
||
| 46 | } |
||
| 47 | |||
| 58 |