19 if ($this->hasTable(
"sites_entity")) {
23 $table = $this->table(
"sites_entity", [
25 'primary_key' => [
"guid"],
27 'encoding' =>
"utf8mb4",
28 'collation' =>
"utf8mb4_general_ci",
31 $table->addColumn(
'guid',
'integer', [
33 'limit' => MysqlAdapter::INT_BIG,
37 $table->addColumn(
'name',
'text', [
41 $table->addColumn(
'description',
'text', [
43 'limit' => MysqlAdapter::TEXT_LONG,
46 $table->addColumn(
'url',
'string', [
48 'limit' => MysqlAdapter::TEXT_SMALL,
50 'collation' =>
"utf8_general_ci",
53 $table->addIndex([
'url'], [
change()
CREATE TABLE prefix_sites_entity ( guid bigint(20) unsigned NOT NULL, name text NOT NULL...