<commit_before><?php
/**
 * Database migration class
 *
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 */

class Migration_20151022_202847_Create_user extends \Skeleton\Database\Migration {

	/**
	 * Migrate up
	 *
	 * @access public
	 */
	public function up() {

	}

	/**
	 * Migrate down
	 *
	 * @access public
	 */
	public function down() {
		$user = new User();
		$user->username = 'user';
		$user->set_password('<PASSWORD>');
		$user->save();
	}
}<commit_msg>fix migration to create user<commit_after><?php
/**
 * Database migration class
 *
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 */

class Migration_20151022_202847_Create_user extends \Skeleton\Database\Migration {

	/**
	 * Migrate up
	 *
	 * @access public
	 */
	public function up() {
		$user = new User();
		$user->username = 'user';
		$user->set_password('<PASSWORD>');
		$user->firstname = 'user';
		$user->lastname = 'user';
		$user->email = '<EMAIL>';
		$user->save();
	}

	/**
	 * Migrate down
	 *
	 * @access public
	 */
	public function down() {

	}
}
{'fraction_non_alphanumeric': 0.19293478260869565, 'fraction_numerical': 0.025362318840579712, 'mean_word_length': 3.402390438247012, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 33, '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': '6975466', 'n_tokens_mistral': 439, 'n_tokens_neox': 384, 'n_words': 86}