View file database/upgrades/20180409170714_delete_screenupload_in_setting.php
<?php use Phinx\Migration\AbstractMigration; class DeleteScreenuploadInSetting extends AbstractMigration { /** * Migrate Up. */ public function up() { $this->execute("DELETE FROM setting WHERE name='screenupload' LIMIT 1;"); } /** * Migrate Down. */ public function down() { $this->execute("INSERT INTO setting (name, value) VALUES ('screenupload', 2097152);"); } }