<commit_before>from django.db import models
from taggit.managers import TaggableManager


class Vault(models.Model):
    site_url = models.TextField()
    username = models.TextField(null=True)
    email = models.TextField(null=True)
    password = models.TextField()
    note = models.TextField(null=True)
    iv = models.CharField(max_length=500)
    salt = models.CharField(max_length=1000)
    tag = TaggableManager()
    history = models.BooleanField(default=False)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)


class Recent(models.Model):
    vault = models.ForeignKey(Vault, on_delete=models.CASCADE)
    accessed_at = models.DateTimeField(auto_now=True)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)


class PasswordFieldHistory(models.Model):
    vault = models.ForeignKey(Vault, on_delete=models.CASCADE)
    password = models.TextField()
    iv = models.CharField(max_length=500)
    salt = models.CharField(max_length=1000)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)<commit_msg>added new field<commit_after>from django.db import models
from taggit.managers import TaggableManager


class Vault(models.Model):
    site_url = models.TextField()
    username = models.TextField(null=True)
    email = models.TextField(null=True)
    password = models.TextField()
    note = models.TextField(null=True)
    iv = models.CharField(max_length=500)
    salt = models.CharField(max_length=1000)
    tag = TaggableManager()
    audit = models.BooleanField(default=True)
    icon = models.TextField(null=True)
    history = models.BooleanField(default=False)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)


class Recent(models.Model):
    vault = models.ForeignKey(Vault, on_delete=models.CASCADE)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)


class PasswordFieldHistory(models.Model):
    vault = models.ForeignKey(Vault, on_delete=models.CASCADE)
    password = models.TextField()
    iv = models.CharField(max_length=500)
    salt = models.CharField(max_length=1000)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)
{'fraction_non_alphanumeric': 0.10261736601578729, 'fraction_numerical': 0.011632737847943497, 'mean_word_length': 5.00498753117207, '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': '5748974', 'n_tokens_mistral': 781, 'n_tokens_neox': 753, 'n_words': 119}