File: 0015_withpositiveintegerfields.py

package info (click to toggle)
python-django-import-export 4.3.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,300 kB
  • sloc: python: 11,650; makefile: 180; sh: 63; javascript: 50
file content (28 lines) | stat: -rw-r--r-- 794 bytes parent folder | download
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
# Generated by Django 5.0.4 on 2024-04-23 22:46

from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("core", "0014_bookwithchapternumbers"),
    ]

    operations = [
        migrations.CreateModel(
            name="WithPositiveIntegerFields",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("big", models.PositiveBigIntegerField(null=True)),
                ("small", models.PositiveSmallIntegerField(null=True)),
            ],
        ),
    ]