| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | public function up() |
||
| 10 | { |
||
| 11 | Schema::create('otps', function (Blueprint $table) { |
||
| 12 | $table->id(); |
||
| 13 | $table->string('identifier'); |
||
| 14 | $table->string('token'); |
||
| 15 | $table->integer('validity'); |
||
| 16 | $table->boolean('expired')->default(false); |
||
| 17 | $table->integer('no_times_generated')->default(0); |
||
| 18 | $table->integer('no_times_attempted')->default(0); |
||
| 19 | $table->timestamp('generated_at'); |
||
| 20 | $table->timestamps(); |
||
| 21 | }); |
||
| 23 | } |