Component Builder (v.4.0.4-alpha2)
+ Component Builder (v.4.0.4-alpha3)
The Component Builder for [Joomla](https://extensions.joomla.org/extension/component-builder/) is highly advanced tool that is truly able to build extremely complex components in a fraction of the time.
diff --git a/componentbuilder_update_server.xml b/componentbuilder_update_server.xml
index bdf203e29..11ebe41a7 100644
--- a/componentbuilder_update_server.xml
+++ b/componentbuilder_update_server.xml
@@ -98,7 +98,7 @@
4.0.4-alpha
https://dev.vdm.io
- https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.4-alpha2.zip
+ https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.4-alpha3.zip
alpha
@@ -113,10 +113,10 @@
pkg_component_builder
package
site
- 4.0.4-alpha2
+ 4.0.4-alpha3
https://dev.vdm.io
- https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.4-alpha2.zip
+ https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.4-alpha3.zip
alpha
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Helper/Interpretation.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Helper/Interpretation.php
index 49acad481..4285ac524 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Helper/Interpretation.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Helper/Interpretation.php
@@ -17300,7 +17300,7 @@ class Interpretation extends Fields
. "\$form->setFieldAttribute(\$requiredField, 'required', 'false');";
$fix .= PHP_EOL . Indent::_(5) . "//" . Line::_(__Line__, __Class__)
. " also clear the data set";
- $fix .= PHP_EOL . Indent::_(5) . "\$data[\$requiredField] = '';";
+ $fix .= PHP_EOL . Indent::_(5) . "unset(\$data[\$requiredField]);";
$fix .= PHP_EOL . Indent::_(4) . "}";
$fix .= PHP_EOL . Indent::_(3) . "}";
$fix .= PHP_EOL . Indent::_(2) . "}";
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/File/Manager.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/File/Manager.php
index 0ba12040c..7dd2c8325 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/File/Manager.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/File/Manager.php
@@ -250,6 +250,7 @@ final class Manager
'entity' => $entity,
'access' => $fileType['download_access'] ?? 1,
'guid' => $this->getGuid('guid'),
+ 'created_by' => $this->user->id
];
}
}
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/ChunkReadFilter.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/ChunkReadFilter.php
new file mode 100644
index 000000000..a406458e2
--- /dev/null
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/ChunkReadFilter.php
@@ -0,0 +1,72 @@
+
+ * @git Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+namespace VDM\Joomla\Componentbuilder\Spreadsheet;
+
+
+use PhpOffice\PhpSpreadsheet\Reader\IReadFilter;
+
+
+/**
+ * Chunk Read Filter Class
+ *
+ * @since 3.2.0
+ */
+final class ChunkReadFilter implements IReadFilter
+{
+ /**
+ * The first row to read in the current chunk.
+ *
+ * @var int
+ */
+ private int $startRow;
+
+ /**
+ * The last row to read in the current chunk.
+ * This is calculated as $startRow + $chunkSize - 1.
+ *
+ * @var int
+ */
+ private int $endRow;
+
+ /**
+ * Constructor to initialize the chunk filter.
+ *
+ * @param int $startRow The starting row to read.
+ * @param int $chunkSize The number of rows to read in each chunk.
+ */
+ public function __construct(int $startRow, int $chunkSize)
+ {
+ $this->startRow = $startRow;
+ $this->endRow = $startRow + $chunkSize - 1;
+ }
+
+ /**
+ * Determines whether a cell should be read based on its row and column.
+ *
+ * @param string $column The column index (e.g., 'A', 'B', 'C').
+ * @param int $row The row index.
+ * @param string|null $worksheetName The worksheet name (not used in this case).
+ *
+ * @return bool Whether the cell should be read.
+ */
+ public function readCell(string $columnAddress, int $row, string $worksheetName = ''): bool
+ {
+ // Only read rows that fall within the chunk range
+ if ($row >= $this->startRow && $row <= $this->endRow)
+ {
+ return true;
+ }
+
+ return false;
+ }
+}
+
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Exporter.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Exporter.php
index c5cc6470b..b470b77dc 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Exporter.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Exporter.php
@@ -12,6 +12,8 @@
namespace VDM\Joomla\Componentbuilder\Spreadsheet;
+use Joomla\CMS\Factory;
+use Joomla\CMS\User\User;
use PhpOffice\PhpSpreadsheet\IOFactory;
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
@@ -105,7 +107,7 @@ final class Exporter
'font' => [
'bold' => true,
'color' => ['rgb' => '1171A3'],
- 'size' => 12,
+ 'size' => 13,
'name' => 'Verdana'
]
];
@@ -289,6 +291,8 @@ final class Exporter
$sheet->getColumnDimension($columnIndex)->setAutoSize(true);
$sheet->getStyle($columnIndex . $rowIndex)->applyFromArray($this->headerStyles);
$sheet->getStyle($columnIndex . $rowIndex)->getAlignment()->setHorizontal(Alignment::HORIZONTAL_CENTER);
+ $row_height = ($this->headerStyles['font']['size'] ?? 13) + 5;
+ $sheet->getRowDimension($rowIndex)->setRowHeight($row_height);
}
elseif ($columnIndex === 'A')
{
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Header.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Header.php
index 2944f6115..a97fe41bd 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Header.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Header.php
@@ -13,7 +13,7 @@ namespace VDM\Joomla\Componentbuilder\Spreadsheet;
use PhpOffice\PhpSpreadsheet\IOFactory;
-use PhpOffice\PhpSpreadsheet\Reader\IReadFilter;
+use VDM\Joomla\Componentbuilder\Spreadsheet\ChunkReadFilter;
/**
@@ -40,7 +40,7 @@ final class Header
}
try {
- $chunkFilter = new ChunkReadFilter(2, 1);
+ $chunkFilter = new ChunkReadFilter(1, 20);
$inputFileType = IOFactory::identify($filePath);
$reader = IOFactory::createReader($inputFileType);
$reader->setReadFilter($chunkFilter);
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Importer.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Importer.php
index d1460917b..b68f0a80b 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Importer.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Spreadsheet/Importer.php
@@ -13,9 +13,9 @@ namespace VDM\Joomla\Componentbuilder\Spreadsheet;
use PhpOffice\PhpSpreadsheet\IOFactory;
-use PhpOffice\PhpSpreadsheet\Reader\IReadFilter;
use PhpOffice\PhpSpreadsheet\Reader\Exception as ReaderException;
use PhpOffice\PhpSpreadsheet\Exception as SpreadsheetException;
+use VDM\Joomla\Componentbuilder\Spreadsheet\ChunkReadFilter;
/**
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Table.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Table.php
index af809dc24..5519d4e4b 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Table.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Table.php
@@ -42,7 +42,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -59,7 +59,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -76,7 +76,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -93,7 +93,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'CHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -127,7 +127,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -144,7 +144,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -161,7 +161,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -178,7 +178,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -195,7 +195,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -263,7 +263,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -280,7 +280,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -331,7 +331,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -348,7 +348,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -365,7 +365,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -416,7 +416,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -484,7 +484,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -501,7 +501,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -518,7 +518,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -535,7 +535,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -552,7 +552,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -569,7 +569,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'CHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -586,7 +586,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -620,7 +620,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -654,7 +654,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -671,7 +671,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -756,7 +756,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -773,7 +773,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -807,7 +807,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -892,7 +892,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(100)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -960,7 +960,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -1035,7 +1035,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -1171,7 +1171,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -1256,7 +1256,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -1406,7 +1406,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -1440,7 +1440,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -1491,7 +1491,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -1508,7 +1508,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -1525,7 +1525,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -1576,7 +1576,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -1593,7 +1593,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(36)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -1644,7 +1644,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'CHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -1710,7 +1710,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -1846,7 +1846,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2003,7 +2003,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'CHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2044,7 +2044,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2068,7 +2068,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2085,7 +2085,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2102,7 +2102,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2119,7 +2119,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2153,7 +2153,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2187,7 +2187,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2204,7 +2204,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2221,7 +2221,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2238,7 +2238,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2255,7 +2255,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2289,7 +2289,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2340,7 +2340,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2374,7 +2374,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2425,7 +2425,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(36)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -2442,7 +2442,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -2475,7 +2475,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -2768,7 +2768,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2826,7 +2826,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2843,7 +2843,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'CHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2860,7 +2860,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2894,7 +2894,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2928,7 +2928,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2945,7 +2945,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2962,7 +2962,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -2996,7 +2996,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -3013,7 +3013,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -3064,7 +3064,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -3115,7 +3115,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -3132,7 +3132,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(36)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -3149,7 +3149,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -3182,7 +3182,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -3216,7 +3216,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(36)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -3266,7 +3266,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -3283,7 +3283,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -3317,7 +3317,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'CHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -3494,7 +3494,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(1024)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -3668,7 +3668,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -3685,7 +3685,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(36)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -3702,7 +3702,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -3735,7 +3735,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -3752,7 +3752,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'CHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -3769,7 +3769,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -3786,7 +3786,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -3803,7 +3803,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -3820,7 +3820,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -3837,7 +3837,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -3854,7 +3854,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -3888,7 +3888,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -3973,7 +3973,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4007,7 +4007,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4041,7 +4041,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4075,7 +4075,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4092,7 +4092,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4109,7 +4109,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4126,7 +4126,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4143,7 +4143,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4160,7 +4160,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4177,7 +4177,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4194,7 +4194,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4211,7 +4211,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4228,7 +4228,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4245,7 +4245,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4279,7 +4279,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4296,7 +4296,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4354,7 +4354,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4371,7 +4371,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4405,7 +4405,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4422,7 +4422,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'CHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -4490,7 +4490,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4558,7 +4558,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4626,7 +4626,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4694,7 +4694,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4762,7 +4762,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4830,7 +4830,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4898,7 +4898,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4932,7 +4932,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -4966,7 +4966,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5000,7 +5000,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5034,7 +5034,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5085,7 +5085,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5102,7 +5102,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5119,7 +5119,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5170,7 +5170,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5187,7 +5187,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5204,7 +5204,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5238,7 +5238,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5255,7 +5255,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5272,7 +5272,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(36)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -5322,7 +5322,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5339,7 +5339,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -5356,7 +5356,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5414,7 +5414,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5431,7 +5431,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5448,7 +5448,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5465,7 +5465,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5482,7 +5482,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -5499,7 +5499,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5574,7 +5574,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -5608,7 +5608,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5649,7 +5649,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5775,7 +5775,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5816,7 +5816,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5833,7 +5833,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5867,7 +5867,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5884,7 +5884,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5901,7 +5901,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5918,7 +5918,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5935,7 +5935,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(36)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -5952,7 +5952,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -5985,7 +5985,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6002,7 +6002,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -6019,7 +6019,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6111,7 +6111,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6128,7 +6128,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -6145,7 +6145,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6162,7 +6162,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -6179,7 +6179,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6237,7 +6237,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6261,7 +6261,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6295,7 +6295,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6329,7 +6329,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6445,7 +6445,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6479,7 +6479,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6513,7 +6513,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6530,7 +6530,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6547,7 +6547,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6564,7 +6564,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6581,7 +6581,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6598,7 +6598,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(36)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -6615,7 +6615,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6648,7 +6648,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -6665,7 +6665,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6706,7 +6706,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6740,7 +6740,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6805,7 +6805,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -6838,7 +6838,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -6855,7 +6855,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6920,7 +6920,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6954,7 +6954,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -6995,7 +6995,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -7028,7 +7028,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -7079,7 +7079,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7096,7 +7096,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7147,7 +7147,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7239,7 +7239,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7273,7 +7273,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7331,7 +7331,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7365,7 +7365,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7382,7 +7382,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -7399,7 +7399,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7433,7 +7433,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7450,7 +7450,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7467,7 +7467,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7484,7 +7484,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7501,7 +7501,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7518,7 +7518,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7569,7 +7569,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7586,7 +7586,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(36)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -7603,7 +7603,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7660,7 +7660,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7745,7 +7745,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -7762,7 +7762,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7779,7 +7779,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7796,7 +7796,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7813,7 +7813,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(100)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -7830,7 +7830,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(100)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -7847,7 +7847,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7880,7 +7880,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -7931,7 +7931,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(36)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -7948,7 +7948,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -7989,7 +7989,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8022,7 +8022,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -8073,7 +8073,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(36)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -8090,7 +8090,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8107,7 +8107,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8148,7 +8148,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8181,7 +8181,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -8198,7 +8198,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8231,7 +8231,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -8306,7 +8306,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8347,7 +8347,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8381,7 +8381,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(36)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -8414,7 +8414,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -8472,7 +8472,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8513,7 +8513,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(36)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -8530,7 +8530,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8547,7 +8547,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8564,7 +8564,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8581,7 +8581,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8598,7 +8598,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8615,7 +8615,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8665,7 +8665,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -8682,7 +8682,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8723,7 +8723,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8756,7 +8756,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -8882,7 +8882,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8899,7 +8899,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8916,7 +8916,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8933,7 +8933,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8967,7 +8967,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -8984,7 +8984,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -9001,7 +9001,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -9018,7 +9018,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'CHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -9052,7 +9052,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'CHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -9069,7 +9069,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -9154,7 +9154,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -9171,7 +9171,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(36)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -9204,7 +9204,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -9272,7 +9272,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'CHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -9306,7 +9306,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -9357,7 +9357,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -9408,7 +9408,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'CHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -9425,7 +9425,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(36)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -9475,7 +9475,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -9597,7 +9597,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -9614,7 +9614,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -9647,7 +9647,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -9681,7 +9681,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -9698,7 +9698,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -9749,7 +9749,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -9783,7 +9783,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -9800,7 +9800,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -9817,7 +9817,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -9834,7 +9834,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -9867,7 +9867,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -9884,7 +9884,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -9901,7 +9901,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -9969,7 +9969,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(36)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -10104,7 +10104,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'CHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -10138,7 +10138,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -10220,7 +10220,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'CHAR(64)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -10237,7 +10237,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -10566,7 +10566,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -10623,7 +10623,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -10680,7 +10680,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -10851,7 +10851,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -10959,7 +10959,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -10976,7 +10976,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -11010,7 +11010,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -11067,7 +11067,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -11124,7 +11124,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -11141,7 +11141,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -11232,7 +11232,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -11249,7 +11249,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -11453,7 +11453,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -11470,7 +11470,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -11527,7 +11527,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -11618,7 +11618,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -11635,7 +11635,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -11685,7 +11685,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -11736,7 +11736,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -11884,7 +11884,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -11901,7 +11901,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -11951,7 +11951,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'VARCHAR(255)',
'default' => '',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -12123,7 +12123,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
@@ -12140,7 +12140,7 @@ final class Table extends BaseTable implements Tableinterface
'db' => [
'type' => 'TEXT',
'default' => 'EMPTY',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => false,
],
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Utilities/DateHelper.php b/libraries/vendor_jcb/VDM.Joomla/src/Utilities/DateHelper.php
new file mode 100644
index 000000000..f8dc8f63b
--- /dev/null
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Utilities/DateHelper.php
@@ -0,0 +1,294 @@
+
+ * @git Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+namespace VDM\Joomla\Utilities;
+
+
+/**
+ * Simple Date Helper
+ *
+ * @since 5.0.2
+ */
+abstract class DateHelper
+{
+ /**
+ * Convert a date to a human-readable fancy format (e.g., "1st of January 2024").
+ *
+ * @param string|int $date The date as a string or timestamp.
+ * @param bool $checkStamp Whether to check if the input is a timestamp.
+ *
+ * @return string Formatted date.
+ * @since 3.0.0
+ */
+ public static function fancyDate($date, bool $checkStamp = true): string
+ {
+ $date = static::getValidTimestamp($date, $checkStamp);
+
+ return date('jS \o\f F Y', $date);
+ }
+
+ /**
+ * Get a formatted date based on the time period (dynamic format based on age of the date).
+ *
+ * @param string|int $date The date as a string or timestamp.
+ * @param bool $checkStamp Whether to check if the input is a timestamp.
+ *
+ * @return string Formatted date.
+ * @since 3.0.0
+ */
+ public static function fancyDynamicDate($date, bool $checkStamp = true): string
+ {
+ $date = static::getValidTimestamp($date, $checkStamp);
+
+ // If older than a year, use m/d/y format.
+ if (date('Y', $date) < date('Y', strtotime('-1 year')))
+ {
+ return date('m/d/y', $date);
+ }
+
+ // If it's the same day, return the time.
+ if ($date > strtotime('-1 day'))
+ {
+ return date('g:i A', $date);
+ }
+
+ // Otherwise, return the month and day.
+ return date('M j', $date);
+ }
+
+ /**
+ * Convert a date to a human-readable day, time, and date format (e.g., "Mon 12am 1st of January 2024").
+ *
+ * @param string|int $date The date as a string or timestamp.
+ * @param bool $checkStamp Whether to check if the input is a timestamp.
+ *
+ * @return string Formatted day, time, and date.
+ * @since 3.0.0
+ */
+ public static function fancyDayTimeDate($date, bool $checkStamp = true): string
+ {
+ $date = static::getValidTimestamp($date, $checkStamp);
+
+ return date('D gA jS \o\f F Y', $date);
+ }
+
+ /**
+ * Convert a date to a human-readable time and date format (e.g., "(12:00) 1st of January 2024").
+ *
+ * @param string|int $date The date as a string or timestamp.
+ * @param bool $checkStamp Whether to check if the input is a timestamp.
+ *
+ * @return string Formatted time and date.
+ * @since 3.0.0
+ */
+ public static function fancyDateTime($date, bool $checkStamp = true): string
+ {
+ $date = static::getValidTimestamp($date, $checkStamp);
+
+ return date('(G:i) jS \o\f F Y', $time);
+ }
+
+ /**
+ * Convert a time to a human-readable format (e.g., "12:00").
+ *
+ * @param string|int $date The date as a string or timestamp.
+ * @param bool $checkStamp Whether to check if the input is a timestamp.
+ *
+ * @return string Formatted time.
+ * @since 3.0.0
+ */
+ public static function fancyTime($date, bool $checkStamp = true): string
+ {
+ $date = static::getValidTimestamp($date, $checkStamp);
+
+ return date('G:i', $date);
+ }
+
+ /**
+ * Convert a date to the day name (e.g., "Sunday").
+ *
+ * @param string|int $date The date as a string or timestamp.
+ * @param bool $checkStamp Whether to check if the input is a timestamp.
+ *
+ * @return string Day name.
+ * @since 3.0.0
+ */
+ public static function setDayName($date, bool $checkStamp = true): string
+ {
+ $date = static::getValidTimestamp($date, $checkStamp);
+
+ return date('l', $date);
+ }
+
+ /**
+ * Convert a date to the month name (e.g., "January").
+ *
+ * @param string|int $date The date as a string or timestamp.
+ * @param bool $checkStamp Whether to check if the input is a timestamp.
+ *
+ * @return string Month name.
+ * @since 3.0.0
+ */
+ public static function setMonthName($date, bool $checkStamp = true): string
+ {
+ $date = static::getValidTimestamp($date, $checkStamp);
+
+ return date('F', $date);
+ }
+
+ /**
+ * Convert a date to the day with suffix (e.g., "1st").
+ *
+ * @param string|int $date The date as a string or timestamp.
+ * @param bool $checkStamp Whether to check if the input is a timestamp.
+ *
+ * @return string Day with suffix.
+ * @since 3.0.0
+ */
+ public static function setDay($date, bool $checkStamp = true): string
+ {
+ $date = static::getValidTimestamp($date, $checkStamp);
+
+ return date('jS', $date);
+ }
+
+ /**
+ * Convert a date to the numeric month (e.g., "5").
+ *
+ * @param string|int $date The date as a string or timestamp.
+ * @param bool $checkStamp Whether to check if the input is a timestamp.
+ *
+ * @return string Numeric month.
+ * @since 3.0.0
+ */
+ public static function setMonth($date, bool $checkStamp = true): string
+ {
+ $date = static::getValidTimestamp($date, $checkStamp);
+
+ return date('n', $date);
+ }
+
+ /**
+ * Convert a date to the full year (e.g., "2024").
+ *
+ * @param string|int $date The date as a string or timestamp.
+ * @param bool $checkStamp Whether to check if the input is a timestamp.
+ *
+ * @return string Full year.
+ * @since 3.0.0
+ */
+ public static function setYear($date, bool $checkStamp = true): string
+ {
+ $date = static::getValidTimestamp($date, $checkStamp);
+
+ return date('Y', $date);
+ }
+
+ /**
+ * Convert a date to a year/month format (e.g., "2024/05").
+ *
+ * @param string|int $date The date as a string or timestamp.
+ * @param string $spacer The spacer between year and month.
+ * @param bool $checkStamp Whether to check if the input is a timestamp.
+ *
+ * @return string Year/Month format.
+ * @since 3.0.0
+ */
+ public static function setYearMonth($date, string $spacer = '/', bool $checkStamp = true): string
+ {
+ $date = static::getValidTimestamp($date, $checkStamp);
+
+ return date('Y' . $spacer . 'm', $date);
+ }
+
+ /**
+ * Convert a date to a year/month/day format (e.g., "2024/05/03").
+ *
+ * @param string|int $date The date as a string or timestamp.
+ * @param string $spacer The spacer between year and month.
+ * @param bool $checkStamp Whether to check if the input is a timestamp.
+ *
+ * @return string Year/Month/Day format.
+ * @since 3.0.0
+ */
+ public static function setYearMonthDay($date, string $spacer = '/', bool $checkStamp = true): string
+ {
+ $date = static::getValidTimestamp($date, $checkStamp);
+
+ return date('Y' . $spacer . 'm' . $spacer . 'd', $date);
+ }
+
+ /**
+ * Convert a date to a day/month/year format (e.g., "03/05/2024").
+ *
+ * @param string|int $date The date as a string or timestamp.
+ * @param string $spacer The spacer between year and month.
+ * @param bool $checkStamp Whether to check if the input is a timestamp.
+ *
+ * @return string Day/Month/Year format.
+ * @since 3.0.0
+ */
+ public static function setDayMonthYear($date, string $spacer = '/', bool $checkStamp = true): string
+ {
+ $date = static::getValidTimestamp($date, $checkStamp);
+
+ return date('d' . $spacer . 'm' . $spacer . 'Y', $date);
+ }
+
+ /**
+ * Convert a date string to a valid timestamp.
+ *
+ * @param string|int $date The date as a string or timestamp.
+ * @param bool $checkStamp Whether to check if the input is a timestamp.
+ *
+ * @return int The valid timestamp.
+ * @since 3.0.0
+ */
+ public static function getValidTimestamp($date, bool $checkStamp): int
+ {
+ if ($checkStamp && !static::isValidTimeStamp($date))
+ {
+ $date = strtotime($date ?? 'Now');
+ }
+
+ return (int) $date;
+ }
+
+ /**
+ * Check if the input is a valid Unix timestamp.
+ *
+ * @param mixed $timestamp The timestamp to validate.
+ *
+ * @return bool True if valid timestamp, false otherwise.
+ * @since 3.0.0
+ */
+ public static function isValidTimeStamp($timestamp): bool
+ {
+ return (is_numeric($timestamp) && (int) $timestamp == $timestamp && $timestamp > 0);
+ }
+
+ /**
+ * Check if a string is a valid date according to the specified format.
+ *
+ * @param string $date The date string to validate.
+ * @param string $format The format to check against (default is 'Y-m-d H:i:s').
+ *
+ * @return bool True if valid date, false otherwise.
+ * @since 3.0.0
+ */
+ public static function isValidateDate($date, string $format = 'Y-m-d H:i:s'): bool
+ {
+ $d = \DateTime::createFromFormat($format, $date);
+
+ return $d && $d->format($format) === $date;
+ }
+}
+
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Utilities/SessionHelper.php b/libraries/vendor_jcb/VDM.Joomla/src/Utilities/SessionHelper.php
new file mode 100644
index 000000000..5cdf483ee
--- /dev/null
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Utilities/SessionHelper.php
@@ -0,0 +1,89 @@
+
+ * @git Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+namespace VDM\Joomla\Utilities;
+
+
+use Joomla\CMS\Factory;
+use Joomla\CMS\Session\Session;
+
+
+/**
+ * Simple Session
+ *
+ * @since 5.0.2
+ */
+abstract class SessionHelper
+{
+ /**
+ * The active session
+ *
+ * @var Session|null
+ * @since 5.0.2
+ */
+ private static ?Session $session = null;
+
+ /**
+ * Get the active session
+ *
+ * @return Session
+ * @throws \RuntimeException if the session cannot be loaded
+ * @since 5.0.2
+ */
+ public static function session(): Session
+ {
+ if (static::$session === null)
+ {
+ try {
+ static::$session = Factory::getApplication()->getSession();
+ } catch (\Exception $e) {
+ // Rethrow the exception as a RuntimeException to propagate it downstream
+ throw new \RuntimeException('Unable to load the session.', 0, $e);
+ }
+ }
+
+ return static::$session;
+ }
+
+ /**
+ * Get data from the session store
+ *
+ * @param string $name Name of a variable
+ * @param mixed $default Default value of a variable if not set
+ *
+ * @return mixed Value of the variable from the session
+ * @since 5.0.2
+ */
+ public static function get(string $name, $default = null)
+ {
+ $value = static::session()->get($name, $default);
+
+ // Ensure the value is set in the session even if it was default
+ static::set($name, $value);
+
+ return $value;
+ }
+
+ /**
+ * Set data into the session store
+ *
+ * @param string $name Name of a variable
+ * @param mixed $value Value of a variable
+ *
+ * @return mixed Old value of the variable
+ * @since 5.0.2
+ */
+ public static function set(string $name, $value = null)
+ {
+ return static::session()->set($name, $value);
+ }
+}
+