Changed seperator from , to ; in voiceplan importer
This commit is contained in:
@@ -19,7 +19,7 @@ class Voiceplan extends mfBaseModel {
|
|||||||
$i = 0;
|
$i = 0;
|
||||||
$filename = $file->getFullPath();
|
$filename = $file->getFullPath();
|
||||||
$input = fopen($filename, "r");
|
$input = fopen($filename, "r");
|
||||||
while($csv = fgetcsv($input, 0, ",")) {
|
while($csv = fgetcsv($input, 0, ";")) {
|
||||||
$i++;
|
$i++;
|
||||||
if($i == 1) continue;
|
if($i == 1) continue;
|
||||||
|
|
||||||
@@ -95,7 +95,7 @@ class Voiceplan extends mfBaseModel {
|
|||||||
$i = 0;
|
$i = 0;
|
||||||
$filename = $file->getFullPath();
|
$filename = $file->getFullPath();
|
||||||
$input = fopen($filename, "r");
|
$input = fopen($filename, "r");
|
||||||
while($csv = fgetcsv($input, 0, ",")) {
|
while($csv = fgetcsv($input, 0, ";")) {
|
||||||
$i++;
|
$i++;
|
||||||
if($i == 1) continue;
|
if($i == 1) continue;
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ final class AddVoicenumberTables extends AbstractMigration
|
|||||||
|
|
||||||
$table = $this->table("Voiceplan");
|
$table = $this->table("Voiceplan");
|
||||||
$table->addColumn("name", "string", ["null" => false, "limit" => 64]);
|
$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", "string", ["null" => true, "default" => null, "limit" => 255]);
|
||||||
$table->addColumn("source_id", "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]);
|
$table->addColumn("increment_first", "integer", ["null" => false, "default" => 1]);
|
||||||
|
|||||||
Reference in New Issue
Block a user