Spaces:
Running
Running
File size: 2,380 Bytes
947c08e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# Generated by Django 5.1.1 on 2024-10-01 06:35
import backend.models.model_cache
import uuid
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='CloudflareTurnStileCache',
fields=[
('token', models.TextField(primary_key=True, serialize=False)),
('datetime', models.DateTimeField(default=backend.models.model_cache.get_current_utc_time)),
],
),
migrations.CreateModel(
name='ComicStorageCache',
fields=[
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('source', models.TextField()),
('comic_id', models.TextField()),
('chapter_id', models.TextField()),
('chapter_idx', models.IntegerField()),
('file_path', models.TextField()),
('colorize', models.BooleanField()),
('translate', models.BooleanField()),
('target_lang', models.TextField()),
('datetime', models.DateTimeField(default=backend.models.model_cache.get_current_utc_time)),
],
),
migrations.CreateModel(
name='RequestCache',
fields=[
('room', models.TextField()),
('client', models.UUIDField(primary_key=True, serialize=False)),
('datetime', models.DateTimeField(default=backend.models.model_cache.get_current_utc_time)),
],
),
migrations.CreateModel(
name='SocketRequestChapterQueueCache',
fields=[
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('socket_id', models.UUIDField()),
('channel_name', models.TextField()),
('source', models.TextField()),
('comic_id', models.TextField()),
('chapter_id', models.TextField()),
('chapter_idx', models.IntegerField()),
('options', models.JSONField()),
('datetime', models.DateTimeField(default=backend.models.model_cache.get_current_utc_time)),
],
),
]
|