diff --git a/commands/ClientFile.php b/commands/ClientFile.php index 9595853..2564108 100644 --- a/commands/ClientFile.php +++ b/commands/ClientFile.php @@ -53,6 +53,7 @@ class ClientFile extends HRCCommand implements HRCCommandInterface { file_put_contents($dirname . $filename, implode("\n", $finishSavedCsv)); return [ 'status' => 'success', + 'terminalKey' => $terminal['key'], 'filename' => $filename, 'filedate' => $file, ]; diff --git a/composer.json b/composer.json index 7adb915..618ab5e 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "hrc-admin/hello-world", - "version": "1.8", + "version": "1.9", "require": { "horeca/admin-php-module-core": "dev-master" }, diff --git a/database/migrations/2021_02_25_145053_add_foreign_key_to_clients_table.php b/database/migrations/2021_02_25_145053_add_foreign_key_to_clients_table.php index d0f4bf0..04788dc 100644 --- a/database/migrations/2021_02_25_145053_add_foreign_key_to_clients_table.php +++ b/database/migrations/2021_02_25_145053_add_foreign_key_to_clients_table.php @@ -15,9 +15,6 @@ class AddForeignKeyToClientsTable extends Migration { $table->string('user_code')->unique()->change(); }); - Schema::table('clients_phone', function (Blueprint $table) { - $table->foreign('client_guid')->references('user_code')->on('clients'); - }); } /** diff --git a/module.ini b/module.ini index d48f6d7..4f6c3eb 100644 --- a/module.ini +++ b/module.ini @@ -1,5 +1,5 @@ [info] name=V1 -version=1.8 +version=1.9 [build] -version=1.8 +version=1.9