<commit_before><?php
class AddCoreSettingsTable extends CakeMigration {

/**
 * Migration description
 *
 * @var string
 * @access public
 */
	public $description = '';

/**
 * Actions to be performed
 *
 * @var array $migration
 * @access public
 */
	public $migration = array(
		'up' => array(
			'create_table' => array(
				'core_settings' => array(
					'id' => array(
						'type' => 'integer',
						'key' => 'primary'
					),
					'application_name' => array(
						'type' => 'string',
						'length' => 255,
						'null' => false
					),
					'enable_caching' => array(
						'type' => 'boolean',
						'null' => false,
						'default' => 0
					),
					'cache_time' => array(
						'type' => 'string',
						'length' => 255,
						'null' => false
					),
					'created' => array(
						'type' => 'datetime',
						'null' => false
					),
					'indexes' => array(
						'PRIMARY' => array(
							'column' => 'id',
							'unique' => 1
						)
					)
				)
			)
		),
		'down' => array(
			'drop_table' => array(
				'core_settings'
			)
		),
	);

/**
 * Before migration callback
 *
 * @param string $direction, up or down direction of migration process
 * @return boolean Should process continue
 * @access public
 */
	public function before($direction) {
		return true;
	}

/**
 * After migration callback<commit_msg>add modified field to core_settings table<commit_after><?php
class AddCoreSettingsTable extends CakeMigration {

/**
 * Migration description
 *
 * @var string
 * @access public
 */
	public $description = '';

/**
 * Actions to be performed
 *
 * @var array $migration
 * @access public
 */
	public $migration = array(
		'up' => array(
			'create_table' => array(
				'core_settings' => array(
					'id' => array(
						'type' => 'integer',
						'key' => 'primary'
					),
					'application_name' => array(
						'type' => 'string',
						'length' => 255,
						'null' => false
					),
					'enable_caching' => array(
						'type' => 'boolean',
						'null' => false,
						'default' => 0
					),
					'cache_time' => array(
						'type' => 'string',
						'length' => 255,
						'null' => false
					),
					'created' => array(
						'type' => 'datetime',
						'null' => false
					),
					'modified' => array(
						'type' => 'datetime',
						'null' => false
					),
					'indexes' => array(
						'PRIMARY' => array(
							'column' => 'id',
							'unique' => 1
						)
					)
				)
			)
		),
		'down' => array(
			'drop_table' => array(
				'core_settings'
			)
		),
	);

/**
 * Before migration callback
 *
 * @param string $direction, up or down direction of migration process
 * @return boolean Should process continue
 * @access public
 */
	public function before($direction) {
		return true;
	}

/**
 * After migration callback
{'fraction_non_alphanumeric': 0.171242774566474, 'fraction_numerical': 0.005780346820809248, 'mean_word_length': 2.265330188679245, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 60, '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': '6271252', 'n_tokens_mistral': 1243, 'n_tokens_neox': 893, 'n_words': 226}