execute("SET SESSION sql_mode = ''"); $table_prefix = $this->getAdapter()->getOption('table_prefix'); $this->execute("UPDATE `{$table_prefix}users` SET `plan_id`=1 WHERE `plan_id`=0;"); } public function down() { $this->execute("SET SESSION sql_mode = ''"); $table_prefix = $this->getAdapter()->getOption('table_prefix'); } }