2014-07-15 19:30:34 +08:00
|
|
|
import django.contrib.postgres.fields
|
2015-01-28 20:35:27 +08:00
|
|
|
from django.db import migrations, models
|
2014-07-15 19:30:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = []
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2015-01-22 11:26:37 +08:00
|
|
|
name="IntegerArrayDefaultModel",
|
2014-07-15 19:30:34 +08:00
|
|
|
fields=[
|
|
|
|
(
|
|
|
|
"id",
|
|
|
|
models.AutoField(
|
|
|
|
verbose_name="ID",
|
|
|
|
serialize=False,
|
|
|
|
auto_created=True,
|
|
|
|
primary_key=True,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"field",
|
|
|
|
django.contrib.postgres.fields.ArrayField(
|
|
|
|
models.IntegerField(), size=None
|
2022-02-04 03:24:19 +08:00
|
|
|
),
|
|
|
|
),
|
2014-07-15 19:30:34 +08:00
|
|
|
],
|
|
|
|
options={},
|
|
|
|
bases=(models.Model,),
|
|
|
|
),
|
|
|
|
]
|