mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 14:17:19 +00:00
page file name is not long enough. extended to 200.
This commit is contained in:
19
comic/migrations/0016_auto_20160414_1335.py
Normal file
19
comic/migrations/0016_auto_20160414_1335.py
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.9.2 on 2016-04-14 12:35
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
dependencies = [
|
||||||
|
('comic', '0015_auto_20160405_1126'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='comicpage',
|
||||||
|
name='page_file_name',
|
||||||
|
field=models.CharField(max_length=200),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -311,7 +311,7 @@ class ComicBook(models.Model):
|
|||||||
class ComicPage(models.Model):
|
class ComicPage(models.Model):
|
||||||
Comic = models.ForeignKey(ComicBook, on_delete=models.CASCADE)
|
Comic = models.ForeignKey(ComicBook, on_delete=models.CASCADE)
|
||||||
index = models.IntegerField()
|
index = models.IntegerField()
|
||||||
page_file_name = models.CharField(max_length=100, unique=False)
|
page_file_name = models.CharField(max_length=200, unique=False)
|
||||||
content_type = models.CharField(max_length=30)
|
content_type = models.CharField(max_length=30)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user