<commit_before><?php

class m130623_192642_published extends CDbMigration
{
	/**
	 * Addes publication timestamp to Content
	 */
	public function safeUp()
	{
		// Refactor for EXECUTE style queries
		$this->execute('ALTER TABLE  `content` ADD  `published` DATETIME NULL DEFAULT CURRENT_TIMESTAMP AFTER  `slug` ;');
		$this->execute('UPDATE `content` SET published = created');
		return true;
	}

	public function safeDown()
	{
		echo "m130623_192642_published does not support migration down.\n";
		return false;
	}
}<commit_msg>TravisCI doesn't seem to like this...<commit_after><?php

class m130623_192642_published extends CDbMigration
{
	/**
	 * Addes publication timestamp to Content
	 */
	public function safeUp()
	{
		// Refactor for EXECUTE style queries
		$this->execute('ALTER TABLE  `content` ADD  `published` DATETIME NULL AFTER  `slug` ;');
		$this->execute('UPDATE `content` SET published = created');
		return true;
	}

	public function safeDown()
	{
		echo "m130623_192642_published does not support migration down.\n";
		return false;
	}
}
{'fraction_non_alphanumeric': 0.10984848484848485, 'fraction_numerical': 0.045454545454545456, 'mean_word_length': 4.365482233502538, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6339022', 'n_tokens_mistral': 381, 'n_tokens_neox': 334, 'n_words': 99}