db.migrations package

Submodules

db.migrations.0001_initial module

class db.migrations.0001_initial.Migration(name, app_label)[source]

Bases: Migration

dependencies = [('auth', '0012_alter_user_first_name_max_length')]
initial = True
operations = [<CreateModel  name='NewUser', fields=[('id', <django.db.models.fields.BigAutoField>), ('password', <django.db.models.fields.CharField>), ('last_login', <django.db.models.fields.DateTimeField>), ('is_superuser', <django.db.models.fields.BooleanField>), ('email', <django.db.models.fields.EmailField>), ('user_name', <django.db.models.fields.CharField>), ('first_name', <django.db.models.fields.CharField>), ('join_date', <django.db.models.fields.DateTimeField>), ('birthday', <django.db.models.fields.DateField>), ('bio', <django.db.models.fields.TextField>), ('is_staff', <django.db.models.fields.BooleanField>), ('is_active', <django.db.models.fields.BooleanField>), ('groups', <django.db.models.fields.related.ManyToManyField>), ('user_permissions', <django.db.models.fields.related.ManyToManyField>)], options={'abstract': False}>, <CreateModel  name='Task', fields=[('id', <django.db.models.fields.BigAutoField>), ('username', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel  name='Iventory', fields=[('id', <django.db.models.fields.BigAutoField>), ('candy_base_type', <django.db.models.fields.CharField>), ('candy_level', <django.db.models.fields.PositiveIntegerField>), ('inventory_owner', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel  name='Avatar', fields=[('id', <django.db.models.fields.BigAutoField>), ('avatar_type', <django.db.models.fields.CharField>), ('pet_name', <django.db.models.fields.CharField>), ('flavour_text', <django.db.models.fields.TextField>), ('avatar_owner', <django.db.models.fields.related.ForeignKey>)]>]

db.migrations.0002_alter_newuser_birthday module

class db.migrations.0002_alter_newuser_birthday.Migration(name, app_label)[source]

Bases: Migration

dependencies = [('db', '0001_initial')]
operations = [<AlterField  model_name='newuser', name='birthday', field=<django.db.models.fields.DateField>>]

db.migrations.0003_alter_newuser_birthday module

class db.migrations.0003_alter_newuser_birthday.Migration(name, app_label)[source]

Bases: Migration

dependencies = [('db', '0002_alter_newuser_birthday')]
operations = [<AlterField  model_name='newuser', name='birthday', field=<django.db.models.fields.DateField>>]

db.migrations.0004_alter_newuser_first_name module

class db.migrations.0004_alter_newuser_first_name.Migration(name, app_label)[source]

Bases: Migration

dependencies = [('db', '0003_alter_newuser_birthday')]
operations = [<AlterField  model_name='newuser', name='first_name', field=<django.db.models.fields.CharField>>]

Module contents