| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function up(): void |
||
| 17 | { |
||
| 18 | Schema::create(config('rinvex.bookings.tables.bookable_availabilities'), function (Blueprint $table) { |
||
| 19 | // Columns |
||
| 20 | $table->increments('id'); |
||
| 21 | $table->morphs('bookable'); |
||
| 22 | $table->string('range'); |
||
| 23 | $table->string('from')->nullable(); |
||
| 24 | $table->string('to')->nullable(); |
||
| 25 | $table->boolean('is_bookable')->default(false); |
||
| 26 | $table->smallInteger('priority')->unsigned()->nullable(); |
||
| 27 | $table->timestamps(); |
||
| 28 | $table->softDeletes(); |
||
| 29 | }); |
||
| 30 | } |
||
| 31 | |||
| 42 |