0001_initial.py 671 B

1234567891011121314151617181920212223
  1. # Generated by Django 3.2.7 on 2021-09-08 15:01
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. class Migration(migrations.Migration):
  5. initial = True
  6. dependencies = [
  7. ]
  8. operations = [
  9. migrations.CreateModel(
  10. name='Folder',
  11. fields=[
  12. ('folder_id', models.AutoField(primary_key=True, serialize=False)),
  13. ('folder_name', models.CharField(max_length=50)),
  14. ('father_folder', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='the_father_folder', to='folder.folder')),
  15. ],
  16. ),
  17. ]