public function down() { $userTable = Configs::instance()->userTable; $db = Configs::userDb(); if ($db->schema->getTableSchema($userTable, true) !== null) { $this->dropTable($userTable); } }
public static function getDb() { return Configs::userDb(); }