Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function up(): void |
||
17 | { |
||
18 | Schema::create(config('rinvex.bookings.tables.prices'), function (Blueprint $table) { |
||
19 | // Columns |
||
20 | $table->increments('id'); |
||
21 | $table->morphs('bookable'); |
||
22 | $table->char('weekday', 3); |
||
23 | $table->time('starts_at'); |
||
24 | $table->time('ends_at'); |
||
25 | $table->tinyInteger('percentage'); |
||
26 | $table->timestamps(); |
||
27 | }); |
||
28 | } |
||
29 | |||
40 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.