Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function up(): void |
||
17 | { |
||
18 | Schema::create(config('rinvex.bookings.tables.bookable_rates'), 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->string('base_cost')->nullable(); |
||
26 | $table->string('unit_cost')->nullable(); |
||
27 | $table->smallInteger('priority')->unsigned()->nullable(); |
||
28 | $table->timestamps(); |
||
29 | $table->softDeletes(); |
||
30 | }); |
||
31 | } |
||
32 | |||
43 |