for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Lagdo\DbAdmin\Driver\Entity;
class TableEntity
{
/**
* @var string
*/
public $name = '';
public $engine = '';
public $schema = '';
public $collation = '';
* @var integer
public $dataLength = 0;
public $indexLength = 0;
public $comment = '';
public $oid = '';
* @var array
public $rows = [];
* Columns to add when creating or altering a table.
*
public $fields = [];
* Columns to edit when altering a table.
public $edited = [];
* Columns to drop when altering a table.
public $dropped = [];
public $foreign = [];
public $autoIncrement = 0;
public $partitioning = '';
* The constructor
* @param string $name The table name
public function __construct(string $name)
$this->name = $name;
}