/** * Nukes the entire database. */ public static function nuke() { if (!self::$redbean->isFrozen()) { self::$writer->wipeAll(); } }
/** * Nukes the entire database. * This will remove all schema structures from the database. * Only works in fluid mode. Be careful with this method. * * @warning dangerous method, will remove all tables, columns etc. * * @return void */ public function nuke() { if (!$this->redbean->isFrozen()) { $this->writer->wipeAll(); } }