CloudStorage / home /migrations /0001_initial.py
thejagstudio's picture
Upload 30 files
0a08d4d verified
raw
history blame contribute delete
818 Bytes
# Generated by Django 4.0.4 on 2022-04-13 11:06
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='data',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('folder', models.CharField(max_length=1000)),
('files', models.JSONField()),
('user_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
]