<commit_before>use utf8;
package EpiRR::Schema::Result::RawData;

# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE

=head1 NAME

EpiRR::Schema::Result::RawData

=cut

use strict;
use warnings;

use base 'DBIx::Class::Core';

=head1 TABLE: C<raw_data>

=cut

__PACKAGE__->table("raw_data");

=head1 ACCESSORS

=head2 raw_data_id

  data_type: 'integer'
  extra: {unsigned => 1}
  is_auto_increment: 1
  is_nullable: 0

=head2 dataset_version_id

  data_type: 'integer'
  extra: {unsigned => 1}
  is_foreign_key: 1
  is_nullable: 0

=head2 name

  data_type: 'varchar'
  is_nullable: 0
  size: 256

=head2 value

  data_type: 'varchar'
  is_nullable: 0
  size: 4000

=cut

__PACKAGE__->add_columns(
  "raw_data_id",
  {
    data_type => "integer",
    extra => { unsigned => 1 },
    is_auto_increment => 1,
    is_nullable => 0,
  },
  "dataset_version_id",
  {
    data_type => "integer",
    extra => { unsigned => 1 },
    is_foreign_key => 1,
    is_nullable => 0,
  },
  "name",
  { data_type => "varchar", is_nullable => 0, size => 256 }, 
  "value",
  { data_type => "varchar", is_nullable => 0, size => 4000 }, 
);

=head1 PRIMARY KEY

=over 4

=item * L</raw_data_id>

=back

=cut

__PACKAGE__->set_primary_key("raw_data_id");

=head1 RELATIONS

=head2 archive

Type: belongs_to

Related object: L<EpiRR::Schema::Result::Archive>

=cut

__PACKAGE__->belongs_to(
  "archive",
  "EpiRR::Schema::Result::Archive",
  { archive_id => "archive_id" },
  { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
);

=head2 dataset_version

Type: belongs_to

Related object: L<EpiRR::Schema::Result::DatasetVersion>

=cut<commit_msg>Adapted the file to the new table Raw_meta_Data<commit_after>use utf8;
package EpiRR::Schema::Result::RawData;

# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE

=head1 NAME

EpiRR::Schema::Result::RawData

=cut

use strict;
use warnings;

use base 'DBIx::Class::Core';

=head1 TABLE: C<raw_data>

=cut

__PACKAGE__->table("raw_data");

=head1 ACCESSORS

=head2 raw_meta_id

  data_type: 'integer'
  extra: {unsigned => 1}
  is_auto_increment: 1
  is_nullable: 0

=head2 raw_data_id

  data_type: 'integer'
  extra: {unsigned => 1}
  is_foreign_key: 1
  is_nullable: 0

=head2 name

  data_type: 'varchar'
  is_nullable: 0
  size: 256

=head2 value

  data_type: 'varchar'
  is_nullable: 0
  size: 4000

=cut

__PACKAGE__->add_columns(
  "raw_meta_id",
  {
    data_type => "integer",
    extra => { unsigned => 1 },
    is_auto_increment => 1,
    is_nullable => 0,
  },
  "raw_data_id",
  {
    data_type => "integer",
    extra => { unsigned => 1 },
    is_foreign_key => 1,
    is_nullable => 0,
  },
  "name",
  { data_type => "varchar", is_nullable => 0, size => 256 }, 
  "value",
  { data_type => "varchar", is_nullable => 0, size => 4000 }, 
);

=head1 PRIMARY KEY

=over 4

=item * L</raw_meta_id>

=back

=cut

__PACKAGE__->set_primary_key("raw_meta_id");

=head1 RELATIONS

=head2 archive

Type: belongs_to

Related object: L<EpiRR::Schema::Result::Archive>

=cut

__PACKAGE__->belongs_to(
  "archive",
  "EpiRR::Schema::Result::Archive",
  { archive_id => "archive_id" },
  { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
);

=head2 dataset_version

Type: belongs_to

Related object: L<EpiRR::Schema::Result::DatasetVersion>

=cut
{'fraction_non_alphanumeric': 0.14690265486725665, 'fraction_numerical': 0.025958702064896755, 'mean_word_length': 4.2330246913580245, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 63, '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': '517209', 'n_tokens_mistral': 1426, 'n_tokens_neox': 1349, 'n_words': 300}