<commit_before>package EnsEMBL::ORM::Rose::Object::WebData;

### NAME: EnsEMBL::ORM::Rose::Object::WebData
### ORM class for the biotype table in ensembl_production

### STATUS: Stable 

use strict;
use warnings;

use base qw(EnsEMBL::ORM::Rose::Object::Trackable);

use constant {
  ROSE_DB_NAME  => 'production',  
};

## Define schema
__PACKAGE__->meta->setup(
  table           => 'web_data',

  columns         => [
    web_data_id => {type => 'serial', primary_key => 1, not_null => 1},
    data        => {type => 'datastructure' },
    comment     => {type => 'text' }
  ],
  title_column    => 'data',

  relationships   => [
    analysis_web_data => {
      'type'        => 'one to many',
      'class'       => 'EnsEMBL::ORM::Rose::Object::AnalysisWebData',
      'column_map'  => {'web_data_id' => 'web_data_id'}
    },
  ],
);


1;<commit_msg>default value for data<commit_after>package EnsEMBL::ORM::Rose::Object::WebData;

### NAME: EnsEMBL::ORM::Rose::Object::WebData
### ORM class for the biotype table in ensembl_production

### STATUS: Stable 

use strict;
use warnings;

use base qw(EnsEMBL::ORM::Rose::Object::Trackable);

use constant {
  ROSE_DB_NAME  => 'production',  
};

## Define schema
__PACKAGE__->meta->setup(
  table           => 'web_data',

  columns         => [
    web_data_id => {type => 'serial', primary_key => 1, not_null => 1},
    data        => {type => 'datastructure', 'default' => '{}' },
    comment     => {type => 'text' }
  ],
  title_column    => 'data',

  relationships   => [
    analysis_web_data => {
      'type'        => 'one to many',
      'class'       => 'EnsEMBL::ORM::Rose::Object::AnalysisWebData',
      'column_map'  => {'web_data_id' => 'web_data_id'}
    },
  ],
);


1;
{'fraction_non_alphanumeric': 0.18082663605051666, 'fraction_numerical': 0.003444316877152698, 'mean_word_length': 3.159904534606205, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 44, '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': '5004643', 'n_tokens_mistral': 635, 'n_tokens_neox': 601, 'n_words': 119}