Debian Codegraph @

example/characters/migrations/0001_initial.py

raw
1 # Generated by Django 2.2 on 2019-04-13 17:10
2
3 import django.contrib.postgres.fields.jsonb
4 from django.db import migrations, models
5
6
7 class Migration(migrations.Migration):
8
9 initial = True
10
11 dependencies = [
12 ]
13
14 operations = [
15 migrations.CreateModel(
16 name='Character',
17 fields=[
18 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
19 ('name', models.CharField(max_length=200)),
20 ('data', django.contrib.postgres.fields.jsonb.JSONField()),
21 ('other_data', django.contrib.postgres.fields.jsonb.JSONField()),
22 ],
23 ),
24 ]