protected function isApplied1($stage) { return $this->hasTable('logentries') && $this->hasTableColumn('logentries', 'env_id') && $this->hasTableColumn('logentries', 'farm_role_id'); }