| Conditions | 1 |
| Paths | 1 |
| Total Lines | 23 |
| Code Lines | 20 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function up() |
||
| 12 | { |
||
| 13 | Schema::create('pull_requests', function (Blueprint $table) { |
||
| 14 | $table->increments('id'); |
||
| 15 | $table->integer('github_id')->unsigned()->nullable()->unique('github_id_UNIQUE'); |
||
| 16 | $table->integer('head_branch_id')->unsigned()->nullable()->index('fk_pull_requests_head_branch_id_idx'); |
||
| 17 | $table->integer('base_branch_id')->unsigned()->nullable()->index('fk_pull_requests_base_branch_id_idx'); |
||
| 18 | $table->integer('user_id')->nullable(); |
||
| 19 | $table->integer('product_backlog_id')->unsigned()->nullable(); |
||
| 20 | $table->integer('number')->unsigned()->nullable(); |
||
| 21 | $table->string('url')->nullable(); |
||
| 22 | $table->string('html_url')->nullable(); |
||
| 23 | $table->string('issue_url')->nullable(); |
||
| 24 | $table->string('commits_url')->nullable(); |
||
| 25 | $table->string('state')->nullable(); |
||
| 26 | $table->string('title')->nullable(); |
||
| 27 | $table->text('body')->nullable(); |
||
| 28 | $table->dateTime('github_created_at')->nullable(); |
||
| 29 | $table->dateTime('github_updated_at')->nullable(); |
||
| 30 | $table->timestamps(); |
||
| 31 | $table->softDeletes(); |
||
| 32 | }); |
||
| 33 | } |
||
| 34 | |||
| 43 |