29 lines
904 B
Python
29 lines
904 B
Python
# Generated by Django 5.1.4 on 2024-12-08 11:56
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('web', '0007_customuser_telegram_id_customuser_telegram_username'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Schema',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.TextField()),
|
|
('data', models.BinaryField(blank=True, null=True)),
|
|
('project', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='web.project')),
|
|
],
|
|
options={
|
|
'indexes': [models.Index(fields=['project'], name='schemas_sch_project_18fee8_idx')],
|
|
},
|
|
),
|
|
]
|