<commit_before>﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using ModCore.Logic.EntityFramework.AttributeImpl;

namespace ModCore.Database
{
    [Table("mcore_database_info")]
    public class DatabaseInfo
    {
        [Column("id")]
        public int Id { get; set; }
        
        [Index("mcore_database_info_meta_key_key", IsUnique = true)]
        [Column("meta_key")]
        [Required]
        public string MetaKey { get; set; }
        
        [Column("meta_value")]
        [Required]
        public string MetaValue { get; set; }
    }
}<commit_msg>use IsLocal in DatabaseInfo<commit_after>﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using ModCore.Logic.EntityFramework.AttributeImpl;

namespace ModCore.Database
{
    [Table("mcore_database_info")]
    public class DatabaseInfo
    {
        [Column("id")]
        public int Id { get; set; }
        
        [Index("meta_key_key", IsUnique = true, IsLocal = true)]
        [Column("meta_key")]
        [Required]
        public string MetaKey { get; set; }
        
        [Column("meta_value")]
        [Required]
        public string MetaValue { get; set; }
    }
}
{'fraction_non_alphanumeric': 0.11075441412520064, 'fraction_numerical': 0.0, 'mean_word_length': 2.790273556231003, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2991771', 'n_tokens_mistral': 356, 'n_tokens_neox': 358, 'n_words': 75}