<commit_before><?php
/**
 * @copyright Copyright (c) 2013 The President and Fellows of Harvard College
 * @license Use of this source code is governed by the LICENSE file found in the root of this project.
 */

require_once("Autoincrement.php");

class m130321_194855_Fields extends CDbMigration
{
	public function up()
	{
		$this->createTable('DECKS', array(
			'ID' => 'pk',
			'TITLE' => 'string NOT NULL',
		));
			
		Autoincrement::up('DECKS', Yii::app()->db->driverName);
			
	}

	public function down()
	{
		$this->dropTable('DECKS');
		
		Autoincrement::down('DECKS', Yii::app()->db->driverName);
	}

	/*
	// Use safeUp/safeDown to do migration with transaction
	public function safeUp()
	{
	}

	public function safeDown()
	{
	}
	*/
}<commit_msg>adding fileds migration<commit_after><?php
/**
 * @copyright Copyright (c) 2013 The President and Fellows of Harvard College
 * @license Use of this source code is governed by the LICENSE file found in the root of this project.
 */

require_once("Autoincrement.php");

class m130321_194855_Fields extends CDbMigration
{
	public function up()
	{
		$this->createTable('FIELDS', array(
			'ID' => 'pk',
			'TITLE' => 'string NOT NULL',
			'TYPE' => 'string NOT NULL'
		));
			
		Autoincrement::up('FIELDS', Yii::app()->db->driverName);
			
	}

	public function down()
	{
		$this->dropTable('FIELDS');
		
		Autoincrement::down('FIELDS', Yii::app()->db->driverName);
	}

	/*
	// Use safeUp/safeDown to do migration with transaction
	public function safeUp()
	{
	}

	public function safeDown()
	{
	}
	*/
}
{'fraction_non_alphanumeric': 0.1493882807469414, 'fraction_numerical': 0.0206052801030264, 'mean_word_length': 3.933333333333333, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 20, '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': '6125238', 'n_tokens_mistral': 587, 'n_tokens_neox': 517, 'n_words': 142}