@fleetbase/fleetops-engine 0.4.13 → 0.4.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/composer.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fleetbase/fleetops-api",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.15",
|
|
4
4
|
"description": "Fleet & Transport Management Extension for Fleetbase",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fleetbase-extension",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
],
|
|
23
23
|
"require": {
|
|
24
24
|
"php": "^8.0",
|
|
25
|
-
"fleetbase/core-api": "^1.4.
|
|
25
|
+
"fleetbase/core-api": "^1.4.9",
|
|
26
26
|
"barryvdh/laravel-dompdf": "^2.0",
|
|
27
27
|
"brick/geo": "0.7.2",
|
|
28
28
|
"cknow/laravel-money": "^7.1",
|
package/extension.json
CHANGED
package/package.json
CHANGED
|
@@ -14,7 +14,9 @@ return new class extends Migration
|
|
|
14
14
|
public function up()
|
|
15
15
|
{
|
|
16
16
|
Schema::table('drivers', function (Blueprint $table) {
|
|
17
|
-
|
|
17
|
+
if (!Schema::hasColumn('drivers', 'meta')) {
|
|
18
|
+
$table->json('meta')->nullable()->after('slug');
|
|
19
|
+
}
|
|
18
20
|
});
|
|
19
21
|
}
|
|
20
22
|
|
|
@@ -26,7 +28,9 @@ return new class extends Migration
|
|
|
26
28
|
public function down()
|
|
27
29
|
{
|
|
28
30
|
Schema::table('drivers', function (Blueprint $table) {
|
|
29
|
-
|
|
31
|
+
if (Schema::hasColumn('drivers', 'meta')) {
|
|
32
|
+
$table->dropColumn('meta');
|
|
33
|
+
}
|
|
30
34
|
});
|
|
31
35
|
}
|
|
32
36
|
};
|