View file database/upgrades/20190623032106_replace_nextpage_in_blogs.php
<?php use Phinx\Migration\AbstractMigration; class ReplaceNextpageInBlogs extends AbstractMigration { /** * Migrate Up. */ public function up() { $this->execute("UPDATE blogs SET text = replace(`text`, '[nextpage]', '')"); } /** * Migrate Down. */ public function down() { } }