db->dbdriver == 'postgre') { $this->db->query(' alter table "apikeys" add "access_level" varchar(255) default \'apikey\' '); } else { $this->db->query(" alter table `apikeys` add `access_level` varchar(255) default 'apikey'; "); } } public function down() { if ($this->db->dbdriver == 'postgre') { $this->db->query(' alter table "apikeys" drop "access_level" '); } else { $this->db->query(' alter table `apikeys` drop `access_level` '); } } }