<commit_before><?php

namespace Rhubarb\Scaffolds\RepositoryLog\Model;

use Rhubarb\Stem\Models\Model;
use Rhubarb\Stem\Repositories\MySql\Schema\Columns\MySqlMediumText;
use Rhubarb\Stem\Repositories\MySql\Schema\Index;
use Rhubarb\Stem\Repositories\MySql\Schema\MySqlModelSchema;
use Rhubarb\Stem\Schema\Columns\AutoIncrement;
use Rhubarb\Stem\Schema\Columns\DateTime;
use Rhubarb\Stem\Schema\Columns\Decimal;
use Rhubarb\Stem\Schema\Columns\String;

class RhubarbLogEntry extends Model
{
	public function createSchema()
	{
		$schema = new MySqlModelSchema("tblRhubarbLogEntry");

		$schema->addColumn(
            new AutoIncrement("RhubarbLogEntryID"),
            new String("LogSession", "30"),
            new DateTime("EntryDate"),
            new String("Category", 50),
            new MySqlMediumText("Message"),
            new MySqlMediumText("AdditionalData"),
            new String("IpAddress", 15),
            new Decimal("ExecutionTime", 12, 4),
            new Decimal("ExecutionGapTime", 12, 4)
		);

        $schema->labelColumnName = "Message";<commit_msg>Renamed column classes for rhubarb 1.0.x<commit_after><?php

namespace Rhubarb\Scaffolds\RepositoryLog\Model;

use Rhubarb\Stem\Models\Model;
use Rhubarb\Stem\Repositories\MySql\Schema\Columns\MySqlMediumText;
use Rhubarb\Stem\Repositories\MySql\Schema\Index;
use Rhubarb\Stem\Repositories\MySql\Schema\MySqlModelSchema;
use Rhubarb\Stem\Schema\Columns\AutoIncrementColumn;
use Rhubarb\Stem\Schema\Columns\DateTimeColumn;
use Rhubarb\Stem\Schema\Columns\DecimalColumn;
use Rhubarb\Stem\Schema\Columns\StringColumn;

class RhubarbLogEntry extends Model
{
	public function createSchema()
	{
		$schema = new MySqlModelSchema("tblRhubarbLogEntry");

		$schema->addColumn(
            new AutoIncrementColumn("RhubarbLogEntryID"),
            new StringColumn("LogSession", "30"),
            new DateTimeColumn("EntryDate"),
            new StringColumn("Category", 50),
            new MySqlMediumText("Message"),
            new MySqlMediumText("AdditionalData"),
            new StringColumn("IpAddress", 15),
            new DecimalColumn("ExecutionTime", 12, 4),
            new DecimalColumn("ExecutionGapTime", 12, 4)
		);

        $schema->labelColumnName = "Message";
{'fraction_non_alphanumeric': 0.11550422034651266, 'fraction_numerical': 0.011550422034651266, 'mean_word_length': 3.8119658119658117, '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': '640968', 'n_tokens_mistral': 730, 'n_tokens_neox': 691, 'n_words': 118}