Changed seperator from , to ; in voiceplan importer

This commit is contained in:
Frank Schubert
2023-12-05 18:06:33 +01:00
parent 7f8ec75355
commit 0ce307bf2d
2 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ class Voiceplan extends mfBaseModel {
$i = 0;
$filename = $file->getFullPath();
$input = fopen($filename, "r");
while($csv = fgetcsv($input, 0, ",")) {
while($csv = fgetcsv($input, 0, ";")) {
$i++;
if($i == 1) continue;
@@ -95,7 +95,7 @@ class Voiceplan extends mfBaseModel {
$i = 0;
$filename = $file->getFullPath();
$input = fopen($filename, "r");
while($csv = fgetcsv($input, 0, ",")) {
while($csv = fgetcsv($input, 0, ";")) {
$i++;
if($i == 1) continue;

View File

@@ -46,7 +46,7 @@ final class AddVoicenumberTables extends AbstractMigration
$table = $this->table("Voiceplan");
$table->addColumn("name", "string", ["null" => false, "limit" => 64]);
$table->addColumn("comment", "text", ["null" => true, "default" => null]);
$table->addColumn("description", "text", ["null" => true, "default" => null]);
$table->addColumn("source", "string", ["null" => true, "default" => null, "limit" => 255]);
$table->addColumn("source_id", "string", ["null" => true, "default" => null, "limit" => 255]);
$table->addColumn("increment_first", "integer", ["null" => false, "default" => 1]);