25 lines
852 B
Python
25 lines
852 B
Python
# Generated by Django 5.2.17 on 2026-09-30 07:14
|
|
|
|
import django.db.models.deletion
|
|
import uuid
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('clips', '0009_revision_blocks'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Sound',
|
|
fields=[
|
|
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
('filename', models.CharField(max_length=255)),
|
|
('duration', models.FloatField(help_text='seconds, as ffprobe reports it')),
|
|
('created', models.DateTimeField(auto_now_add=True)),
|
|
('blob', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='sound_for', to='clips.blob')),
|
|
],
|
|
),
|
|
]
|