mirror of
https://github.com/decompme/decomp.me.git
synced 2026-02-20 21:38:55 -06:00
Increase the max length of the scratch name field
This commit is contained in:
18
backend/coreapp/migrations/0012_alter_scratch_name.py
Normal file
18
backend/coreapp/migrations/0012_alter_scratch_name.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.2.4 on 2021-12-30 16:26
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('coreapp', '0011_alter_scratch_diff_label'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='scratch',
|
||||
name='name',
|
||||
field=models.CharField(blank=True, default='', max_length=512),
|
||||
),
|
||||
]
|
||||
@@ -45,7 +45,7 @@ class Assembly(models.Model):
|
||||
|
||||
class Scratch(models.Model):
|
||||
slug = models.SlugField(primary_key=True, default=gen_scratch_id)
|
||||
name = models.CharField(max_length=100, default="", blank=True)
|
||||
name = models.CharField(max_length=512, default="", blank=True)
|
||||
description = models.TextField(max_length=5000, default="", blank=True)
|
||||
creation_time = models.DateTimeField(auto_now_add=True)
|
||||
last_updated = models.DateTimeField(auto_now=True)
|
||||
|
||||
Reference in New Issue
Block a user