3 use Phinx\Migration\AbstractMigration;
4 use Phinx\Db\Adapter\MysqlAdapter;
16 if ($this->hasTable(
"access_collection_membership")) {
20 $table = $this->table(
"access_collection_membership", [
24 "access_collection_id"
27 'encoding' =>
"utf8mb4",
28 'collation' =>
"utf8mb4_general_ci",
31 $table->addColumn(
'user_guid',
'integer', [
33 'limit' => MysqlAdapter::INT_BIG,
38 $table->addColumn(
'access_collection_id',
'integer', [
40 'limit' => MysqlAdapter::INT_REGULAR,
change()
CREATE TABLE prefix_access_collection_membership ( user_guid bigint(20) unsigned NOT NULL,...