createTable('', [ '_id' => $this->integer(), '_id' => $this->integer(), 'PRIMARY KEY(_id, _id)', ]); $this->createIndex( 'idx--_id', '', '_id' ); $this->createIndex( 'idx--_id', '', '_id' ); $this->addForeignKey( 'fk--_id', '', '_id', '', 'id', 'CASCADE' ); $this->addForeignKey( 'fk--_id', '', '_id', '', 'id', 'CASCADE' ); } /** * @inheritdoc */ public function down() { $this->dropTable(''); } }