| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 11 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 14 | public function up()  | 
            ||
| 15 |     { | 
            ||
| 16 |         Schema::create(config('laravelinvites.table'), function (Blueprint $table) { | 
            ||
| 17 |             $table->increments('id'); | 
            ||
| 18 |             $table->string('email')->nullable()->unique(); | 
            ||
| 19 |             $table->string('code')->unique(); | 
            ||
| 20 |             $table->integer('allowed_count')->default(0); | 
            ||
| 21 |             $table->dateTime('valid_upto')->nullable(); | 
            ||
| 22 |             $table->dateTime('valid_from')->nullable(); | 
            ||
| 23 |             $table->integer('used_count')->default(0); | 
            ||
| 24 | $table->timestamps();  | 
            ||
| 25 | });  | 
            ||
| 38 |