22 if ($this->hasTable(
"entity_relationships")) {
26 $table = $this->table(
"entity_relationships", [
28 'encoding' =>
"utf8mb4",
29 'collation' =>
"utf8mb4_general_ci",
32 $table->addColumn(
'guid_one',
'integer', [
34 'limit' => MysqlAdapter::INT_BIG,
39 $table->addColumn(
'relationship',
'string', [
44 $table->addColumn(
'guid_two',
'integer', [
46 'limit' => MysqlAdapter::INT_BIG,
51 $table->addColumn(
'time_created',
'integer', [
53 'limit' => MysqlAdapter::INT_REGULAR,
66 $table->addIndex([
'relationship'], [
67 'name' =>
"relationship",
71 $table->addIndex([
'guid_two'], [
change()
CREATE TABLE prefix_entity_relationships ( id int(11) NOT NULL AUTO_INCREMENT, guid_one bigint(20) un...