<commit_before><?php

class m140917_121605_event_type_operation_suffix_migration extends CDbMigration
{
	public function up()
	{
		$event_type_id=$this->dbConnection->createCommand()->select('id')->from('event_type')->where('class_name=:class_name', array(':class_name'=>'OphInDnaextraction'))->queryScalar();
		$this->update('event_type',array('rbac_operation_suffix'=>'DnaExtraction'),"id = $event_type_id");
	}

	public function down()
	{
		$event_type_id=$this->dbConnection->createCommand()->select('id')->from('event_type')->where('class_name=:class_name', array(':class_name'=>'OphInDnaextraction'))->queryScalar();
		$this->update('event_type',array('rbac_operation_suffix'=>NULL),"id = $event_type_id");
	}
}<commit_msg>set event type rbac suffix<commit_after><?php

class m140917_121605_event_type_operation_suffix_migration extends OEMigration
{
	public function up()
	{
		$this->setEventTypeRBACSuffix('OphInDnaExtraction','DnaExtraction');
	}

	public function down()
	{
		$this->setEventTypeRBACSuffix('OphInDnaExtraction',NULL);
	}
}
{'fraction_non_alphanumeric': 0.1717557251908397, 'fraction_numerical': 0.022900763358778626, 'mean_word_length': 10.279569892473118, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1924827', 'n_tokens_mistral': 390, 'n_tokens_neox': 364, 'n_words': 36}