| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 6 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php namespace Bedard\Webhooks\Updates; |
||
| 9 | public function up() |
||
| 10 | { |
||
| 11 | Schema::create('bedard_webhooks_hooks', function($table) |
||
| 12 | { |
||
| 13 | $table->engine = 'InnoDB'; |
||
| 14 | $table->increments('id'); |
||
| 15 | $table->boolean('is_enabled')->default(true); |
||
| 16 | $table->string('token', 40)->unique(); |
||
| 17 | $table->string('name')->nullable(); |
||
| 18 | $table->text('script')->nullable(); |
||
| 19 | $table->string('http_method', 10)->nullable(); |
||
| 20 | $table->string('executed_by')->nullable(); |
||
| 21 | $table->datetime('executed_at')->nullable(); |
||
| 22 | $table->timestamps(); |
||
| 23 | }); |
||
| 24 | } |
||
| 25 | |||
| 32 |