Ticket #32832: 0001_initial.py

File 0001_initial.py, 1.1 KB (added by Omkar Deshpande, 3 years ago)

Initial Migration to Create the Table

Line 
1# Generated by Django 2.2.24 on 2021-06-09 15:46
2
3from django.db import migrations, models
4import django_mysql.models
5
6
7class Migration(migrations.Migration):
8
9 initial = True
10
11 dependencies = [
12 ]
13
14 operations = [
15 migrations.CreateModel(
16 name='NucleusData',
17 fields=[
18 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
19 ('no_param_json', django_mysql.models.JSONField(default=dict)),
20 ('null_json', django_mysql.models.JSONField(default=dict, null=True)),
21 ('default_json', django_mysql.models.JSONField(default=list)),
22 ('null_n_default_json', django_mysql.models.JSONField(default=list, null=True)),
23 ('no_param_txt', models.TextField()),
24 ('null_txt', models.TextField(null=True)),
25 ('default_txt', models.TextField(default='')),
26 ('null_n_default_txt', models.TextField(default='', null=True)),
27 ('null_default_blank_txt', models.TextField(blank=True, default='', null=True)),
28 ],
29 ),
30 ]
Back to Top