Subversion Repositories eFlore/Applications.cel

Rev

Rev 3457 | Rev 3466 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3457 Rev 3464
Line 123... Line 123...
123
			WHERE id_observation in (select id FROM ".$this->bd_new_cel.".`occurrence`)";
123
			WHERE id_observation in (select id FROM ".$this->bd_new_cel.".`occurrence`)";
124
	    $this->bdd->requeter($requete);
124
	    $this->bdd->requeter($requete);
125
	}
125
	}
Line 126... Line 126...
126
	
126
	
127
	private function migrerProjet() {
127
	private function migrerProjet() {
128
	    $requete = "INSERT INTO ".$this->bd_new_cel.".`project_settings` (`id`, `project_id`, `project`, `language`, `title`, `logo`, `description`, `type`, `is_type`, `css_style`, `image_font`, `date_created`, `date_updated`, `taxo_restriction_type`, `taxo_restriction_value`, `location_type`, `location`, `published_location`, `environments`, `project_tag_name`, `info`)
128
	    $requete = "INSERT INTO ".$this->bd_new_cel.".`project_settings` (`id`, `project_id`, `project`, `language`, `title`, `logo`, `description`, `type`, `is_type`, `css_style`, `image_font`, `date_created`, `date_updated`, `taxo_restriction_type`, `taxo_restriction_value`, `location_type`, `location`, `published_location`, `environment`, `project_tag_name`, `info`)
129
	        SELECT * FROM ".$this->bd_cel.".`project_settings`";
129
	        SELECT * FROM ".$this->bd_cel.".`project_settings`";
130
	    $this->bdd->requeter($requete);
130
	    $this->bdd->requeter($requete);
131
	    $requete = "INSERT INTO ".$this->bd_new_cel.".`extended_field` (`id`, `project_id`, `field_id`, `project`, `data_type`, `is_visible`, `is_mandatory`, `min_value`, `max_value`, `regexp`, `unit`)
131
	    $requete = "INSERT INTO ".$this->bd_new_cel.".`extended_field` (`id`, `project_id`, `field_id`, `project`, `data_type`, `is_visible`, `is_mandatory`, `min_value`, `max_value`, `regexp`, `unit`)
132
	        SELECT * FROM ".$this->bd_cel.".`extended_field`";
132
	        SELECT * FROM ".$this->bd_cel.".`extended_field`";