<commit_before>from django.db import models
from django.contrib.auth.models import User
from django.conf import settings

class Files(models.Model):
	file = models.FileField(upload_to='%Y/%m/%d/%H:%M:%S')
	
class Uploaded_Files(models.Model):
	
	user = models.ForeignKey(User)
	file = models.ForeignKey(Files)
	
	name = models.CharField(max_length=512, blank=True)
	
	#name_slug = models.SlugField(max_length=767, blank=True)
	share_link = models.URLField(blank=True)

	is_deployed = models.BooleanField(default=False)
	is_deleted = models.BooleanField(default=False)
	is_shared = models.BooleanField(default=False)
	
	share_link = models.URLField(blank=True)
	#share_link_password = 
	
	date_created = models.DateTimeField(auto_now_add=True)<commit_msg>expanded files models added share_link_click_count DB refresh required<commit_after>from django.db import models
from django.contrib.auth.models import User
from django.conf import settings

class Files(models.Model):
	file = models.FileField(upload_to='%Y/%m/%d/%H:%M:%S')
	
class Uploaded_Files(models.Model):
	
	user = models.ForeignKey(User)
	file = models.ForeignKey(Files)
	
	name = models.CharField(max_length=512, blank=True)
	
	#name_slug = models.SlugField(max_length=767, blank=True)
	share_link = models.URLField(blank=True)

	is_deployed = models.BooleanField(default=False)
	is_deleted = models.BooleanField(default=False)
	is_shared = models.BooleanField(default=False)
	
	share_link = models.URLField(blank=True)
	share_link_clicks_count = models.IntegerField(default=0)
	#share_link_password = 
	
	date_created = models.DateTimeField(auto_now_add=True)
{'fraction_non_alphanumeric': 0.11275415896487985, 'fraction_numerical': 0.008009858287122612, 'mean_word_length': 6.624413145539906, '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': '6923743', 'n_tokens_mistral': 565, 'n_tokens_neox': 535, 'n_words': 90}