class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('api', '0060_delete_order'), ] operations = [ migrations.CreateModel( name='Order', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('selecteds', django.contrib.postgres.fields.ArrayField( base_field=models.CharField(choices=[ ('IN', 'Insurance'), ('SR', 'Signature Release Required'), ('WG', 'White Glove Delivery'), ('WC', 'Will-Call Pick Up'), ('GS', 'Ground Shipping'), ('ES', 'Expedited Shipping') ], max_length=2), default=api.models.Order.default_selecteds, size=6)), ('quantity', models.IntegerField(default=1)), ('ordered_at', models.DateTimeField(default=django.utils.timezone.now)), ('payment_status', models.CharField(choices=[('paid', 'Paid'), ('unpaid', 'Unpaid')], max_length=6)), ('forecasted_arrival', models.DateTimeField(default=None, null=True)), ('tracking_url', models.URLField(default=None, null=True)), ('delivery_address', models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.PROTECT, to='api.address')), ('rug', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.rug')), ('rug_variation', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.rugvariation')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_query_name='cart_items', to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] operations = [ migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('password', models.CharField(max_length=128, verbose_name='password')), ('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')), ('email', models.EmailField(max_length=255, unique=True)), ('name', models.CharField(max_length=20)), ('cellphone', models.CharField(max_length=20)), ('is_active', models.BooleanField(default=True)), ('is_admin', models.BooleanField(default=False)), ('is_superuser', models.BooleanField(default=False)), ('is_staff', models.BooleanField(default=False)), ('date_joined', models.DateTimeField(auto_now_add=True)), ('groups', models.ManyToManyField( blank=True, help_text= 'The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups')), ('user_permissions', models.ManyToManyField( blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions')), ], options={ 'abstract': False, }, managers=[ ('objects', api.models.UserManager()), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Room', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('code', models.CharField(default=api.models.generate_unique_code, max_length=8, unique=True)), ('host', models.CharField(max_length=50, unique=True)), ('num_questions', models.IntegerField(default=5)), ('player_can_join', models.BooleanField(default=True)), ('created_at', models.DateTimeField(auto_now_add=True)), ], ), migrations.CreateModel( name='Player', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('code', models.CharField(max_length=8)), ('user_name', models.CharField(max_length=15)), ('session_key', models.CharField(max_length=50, unique=True)), ('score', models.IntegerField(default=0)), ('room', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.room')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max_length'), ] operations = [ migrations.CreateModel( name='Contact', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('country_code', models.CharField(max_length=225)), ('full_name', models.CharField(max_length=225)), ('phone_number', models.CharField(max_length=10)), ('is_favorite', models.BooleanField(default=False)), ('custom_id', models.PositiveIntegerField()), ], ), migrations.CreateModel( name='CustomUser', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('password', models.CharField(max_length=128, verbose_name='password')), ('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')), ('is_superuser', models.BooleanField(default=False, help_text='Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status')), ('email', models.EmailField(max_length=225, unique=True)), ('full_name', models.CharField(max_length=225)), ('date_joined', models.DateField(auto_now_add=True)), ('is_staff', models.BooleanField(default=False)), ('contacts', models.ManyToManyField(to='api.Contact')), ('groups', models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups')), ('user_permissions', models.ManyToManyField(blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions')), ], options={ 'abstract': False, }, managers=[ ('objects', api.models.UserManager()), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Article', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=300)), ('description', models.TextField(max_length=1000)), ('price', models.IntegerField()), ('city', models.CharField(max_length=100)), ('category', models.CharField(max_length=100)), ('color', models.PositiveSmallIntegerField(choices=[(1, 'red'), (2, 'green'), (3, 'blue')], default='red')), ('creator', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name': 'Article', 'verbose_name_plural': 'Articles', }, ), migrations.CreateModel( name='FavoriteArticle', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('article', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.Article')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='ArticleImage', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image', models.FileField(blank=True, null=True, upload_to=api.models.image_path)), ('article', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.Article')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Category', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('code', models.CharField(default=api.models.generate_unique_code, max_length=8, unique=True)), ('category', models.CharField(max_length=50)), ], ), migrations.CreateModel( name='Post', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('code', models.CharField(default=api.models.generate_unique_code, max_length=8, unique=True)), ('title', models.CharField(max_length=100)), ('content', models.TextField()), ('date', models.DateTimeField(auto_now_add=True)), ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.category')), ], ), ]
class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("api", "0005_auto_20190722_1622"), ] operations = [ migrations.CreateModel( name="ConfigFile", fields=[ ( "id", models.AutoField( auto_created=True, primary_key=True, serialize=False, verbose_name="ID", ), ), ( "creation_timestamp", models.DateTimeField( auto_now_add=True, verbose_name="Creation time" ), ), ( "update_timestamp", models.DateTimeField(auto_now=True, verbose_name="Last Updated"), ), ("file_name", models.CharField(blank=True, max_length=30)), ( "config_file", models.FileField( default="configs/default.json", upload_to="configs/", validators=[api.models.ConfigFile.validate_file_extension], ), ), ( "user", models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name="config_files", to=settings.AUTH_USER_MODEL, verbose_name="User", ), ), ], options={ "abstract": False, }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Room', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('room_code', models.CharField(default=api.models.generate_room_code, max_length=8, unique=True)), ('host_key', models.CharField(max_length=50, unique=True)), ('host_name', models.CharField(max_length=20)), ('guest_can_pause', models.BooleanField(default=False)), ('created_at', models.DateTimeField(auto_now_add=True)), ('votes_to_skip', models.IntegerField( default=2, validators=[ django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(10) ])), ('start_balance', models.IntegerField( default=100, validators=[ django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(10000) ])), ('min_bet', models.IntegerField( default=1, validators=[ django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(1000) ])), ('players_number', models.IntegerField( default=2, validators=[ django.core.validators.MinValueValidator(2), django.core.validators.MaxValueValidator(10) ])), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='ImageData', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('folder', models.CharField(max_length=32)), ('_id', models.CharField(max_length=30)), ('image', django_resized.forms.ResizedImageField( crop=None, force_format=None, keep_meta=True, quality=0, size=[50, 50], upload_to=api.models.upload_path)), ], ), migrations.CreateModel( name='MergedImageData', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('ids', models.CharField(max_length=1500)), ('size', models.IntegerField()), ('image', models.ImageField(upload_to='images/merged')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='UserProfile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('bio', models.TextField(max_length=100)), ('profile_picture', models.ImageField(upload_to=api.models.profile_picture_path)), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Photo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image', models.ImageField(upload_to=api.models.image_path)), ('userprofile', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.UserProfile')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Category', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('item', models.CharField(max_length=100)), ], ), migrations.CreateModel( name='Task', fields=[ ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)), ('task', models.CharField(max_length=100)), ('description', models.CharField(max_length=300)), ('criteria', models.CharField(max_length=100)), ('status', models.CharField(choices=[('1', 'Not started'), ('2', 'On going'), ('3', 'Done')], default='1', max_length=40)), ('estimate', models.IntegerField(validators=[django.core.validators.MinValueValidator(0)])), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.category')), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='owner', to=settings.AUTH_USER_MODEL)), ('responsible', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='responsible', to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Profile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('img', models.ImageField(blank=True, null=True, upload_to=api.models.upload_avatar_path)), ('user_profile', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='user_profile', to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Countdown', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=128)), ('time', models.DateTimeField()), ('key', models.CharField(default=api.models.generateKey, max_length=64)), ('created_at', models.DateField(default=django.utils.timezone.now)), ], ), migrations.CreateModel( name='CountdownEvent', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=128)), ('text', models.CharField(max_length=256)), ('time_delta', models.DurationField()), ('countdown', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.Countdown')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('api', '0001_initial'), ] operations = [ migrations.CreateModel( name='GarantizarFogar', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('id_garantizar', models.CharField(db_index=True, max_length=100)), ('id_fogar', models.CharField(db_index=True, max_length=100)), ('created_at', models.DateTimeField(blank=True, default=datetime.datetime.now)), ], bases=(models.Model, api.models.UpdateMixin), ), migrations.AddField( model_name='operacion', name='created_at', field=models.DateTimeField(blank=True, default=datetime.datetime.now), ), migrations.AddField( model_name='operaciondetalle', name='created_at', field=models.DateTimeField(blank=True, default=datetime.datetime.now), ), migrations.AddField( model_name='operaciondetallehistorial', name='created_at', field=models.DateTimeField(blank=True, default=datetime.datetime.now), ), migrations.AddField( model_name='operacionencoladaerror', name='created_at', field=models.DateTimeField(blank=True, default=datetime.datetime.now), ), migrations.AlterUniqueTogether( name='garantizarfogar', unique_together={('id_garantizar', 'id_fogar')}, ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='FileHostingModel', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=32)), ('slug', models.CharField(blank=True, max_length=64, unique=True)), ('created_time', models.DateField(auto_now_add=True)), ('file_upload', models.FileField(upload_to=api.models.user_file_path)), ], ), migrations.CreateModel( name='ImageHostingModel', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=32)), ('slug', models.CharField(blank=True, max_length=64, unique=True)), ('created_time', models.DateField(auto_now_add=True)), ('image_upload', models.ImageField(upload_to=api.models.user_image_path)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='ChatMessage', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('message', models.CharField(max_length=200)), ('sender', models.CharField(max_length=200)), ('timestamp', models.TimeField(auto_now_add=True)), ], ), migrations.CreateModel( name='Profile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('code', models.CharField(default=api.models.gen_rand_str, max_length=30)), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] operations = [ migrations.CreateModel( name='Person', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=128)), ('age', models.IntegerField()), ], ), migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('password', models.CharField(max_length=128, verbose_name='password')), ('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')), ('is_superuser', models.BooleanField(default=False, help_text='Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status')), ('username', models.CharField(max_length=150, unique=True, verbose_name='username')), ('email', models.EmailField(max_length=254, verbose_name='email')), ('is_staff', models.BooleanField(default=False, verbose_name='is_staff')), ('is_active', models.BooleanField(default=True, verbose_name='active')), ('groups', models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups')), ('user_permissions', models.ManyToManyField(blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions')), ], options={ 'verbose_name': 'user', 'verbose_name_plural': 'users', }, managers=[ ('objects', api.models.UserManager()), ], ), ]
class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('api', '0001_initial'), ] operations = [ migrations.CreateModel( name='Game', fields=[ ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)), ('name', models.CharField(max_length=150)), ('is_active', models.BooleanField(default=False)), ('deck', api.models.CardDeckField(max_length=160, null=True)), ('small_blind', models.PositiveIntegerField(default=0)), ('big_blind', models.PositiveIntegerField(default=0)), ('created_on', models.DateTimeField(auto_now_add=True)), ('created_by', models.ForeignKey( on_delete=django.db.models.deletion.DO_NOTHING, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Player', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('chips', models.PositiveIntegerField(default=0)), ('sit_num', models.PositiveSmallIntegerField(default=0)), ('is_admin', models.BooleanField(default=False)), ('user', models.ForeignKey( on_delete=django.db.models.deletion.DO_NOTHING, to=settings.AUTH_USER_MODEL)), ], ), migrations.DeleteModel(name='Room', ), migrations.AddField( model_name='game', name='players', field=models.ManyToManyField(to='api.Player'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Portfolio', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('portfolioName', models.CharField(default='', max_length=50, unique=True)), ('description', models.CharField(default='', max_length=4000)), ], ), migrations.CreateModel( name='Picture', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('imageName', models.CharField(max_length=255, unique=True)), ('image', models.ImageField(blank=True, null=True, upload_to=api.models.upload_path)), ('portfolioName', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.portfolio')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('api', '0002_auto_20210328_1147'), ] operations = [ migrations.CreateModel( name='Audios', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(blank=True, max_length=100, null=True)), ('audio', models.FileField( blank=True, null=True, upload_to=api.models.Audios.audio_upload_path)), ('file_type', models.CharField(blank=True, max_length=50, null=True)), ('file_extension', models.CharField(blank=True, max_length=50, null=True)), ('duration', models.CharField(blank=True, max_length=50, null=True)), ('atChild', models.ForeignKey(blank=True, default='', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='audios', to='api.antypicalchild')), ('session', models.ForeignKey(default='', on_delete=django.db.models.deletion.CASCADE, related_name='audio', to='api.sessions')), ('tChild', models.ForeignKey(blank=True, default='', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='audios', to='api.typicalchild')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='hari', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('hari', models.CharField(default='', max_length=5)), ], ), migrations.CreateModel( name='Room', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('code', models.CharField(default=api.models.unique_code_genarator, max_length=8, unique=True)), ('host', models.CharField(default='', max_length=50, unique=True)), ('guest_can_pause', models.BooleanField(default=False)), ('votes_to_skip', models.IntegerField(default=1, null=0)), ('created_at', models.DateTimeField(auto_now_add=True)), ], ), ]
class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('api', '0002_auto_20201205_1537'), ] operations = [ migrations.CreateModel( name='Staff', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('faculty', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.faculty')), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='staff_of', to=settings.AUTH_USER_MODEL)), ], ), migrations.AlterField( model_name='examination', name='month', field=models.PositiveIntegerField(choices=[(1, 'January'), (2, 'February'), (3, 'March'), (4, 'April'), (5, 'May'), (6, 'June'), (7, 'July'), (8, 'August'), (9, 'September'), (10, 'October'), (11, 'November'), (12, 'December')], validators=[django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(12)]), ), migrations.AlterField( model_name='examination', name='year', field=models.PositiveIntegerField(choices=[(1984, 1984), (1985, 1985), (1986, 1986), (1987, 1987), (1988, 1988), (1989, 1989), (1990, 1990), (1991, 1991), (1992, 1992), (1993, 1993), (1994, 1994), (1995, 1995), (1996, 1996), (1997, 1997), (1998, 1998), (1999, 1999), (2000, 2000), (2001, 2001), (2002, 2002), (2003, 2003), (2004, 2004), (2005, 2005), (2006, 2006), (2007, 2007), (2008, 2008), (2009, 2009), (2010, 2010), (2011, 2011), (2012, 2012), (2013, 2013), (2014, 2014), (2015, 2015), (2016, 2016), (2017, 2017), (2018, 2018), (2019, 2019), (2020, 2020), (2021, 2021), (2022, 2022), (2023, 2023)], default=2020, validators=[django.core.validators.MinValueValidator(1984), api.models.max_value_current_year]), ), migrations.AlterField( model_name='facultyevent', name='month', field=models.PositiveIntegerField(choices=[(1, 'January'), (2, 'February'), (3, 'March'), (4, 'April'), (5, 'May'), (6, 'June'), (7, 'July'), (8, 'August'), (9, 'September'), (10, 'October'), (11, 'November'), (12, 'December')], validators=[django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(12)]), ), migrations.AlterField( model_name='facultyevent', name='year', field=models.PositiveIntegerField(choices=[(1984, 1984), (1985, 1985), (1986, 1986), (1987, 1987), (1988, 1988), (1989, 1989), (1990, 1990), (1991, 1991), (1992, 1992), (1993, 1993), (1994, 1994), (1995, 1995), (1996, 1996), (1997, 1997), (1998, 1998), (1999, 1999), (2000, 2000), (2001, 2001), (2002, 2002), (2003, 2003), (2004, 2004), (2005, 2005), (2006, 2006), (2007, 2007), (2008, 2008), (2009, 2009), (2010, 2010), (2011, 2011), (2012, 2012), (2013, 2013), (2014, 2014), (2015, 2015), (2016, 2016), (2017, 2017), (2018, 2018), (2019, 2019), (2020, 2020), (2021, 2021), (2022, 2022), (2023, 2023)], default=2020, validators=[django.core.validators.MinValueValidator(1984), api.models.max_value_current_year]), ), migrations.AlterField( model_name='universityevent', name='month', field=models.PositiveIntegerField(choices=[(1, 'January'), (2, 'February'), (3, 'March'), (4, 'April'), (5, 'May'), (6, 'June'), (7, 'July'), (8, 'August'), (9, 'September'), (10, 'October'), (11, 'November'), (12, 'December')], validators=[django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(12)]), ), migrations.AlterField( model_name='universityevent', name='year', field=models.PositiveIntegerField(choices=[(1984, 1984), (1985, 1985), (1986, 1986), (1987, 1987), (1988, 1988), (1989, 1989), (1990, 1990), (1991, 1991), (1992, 1992), (1993, 1993), (1994, 1994), (1995, 1995), (1996, 1996), (1997, 1997), (1998, 1998), (1999, 1999), (2000, 2000), (2001, 2001), (2002, 2002), (2003, 2003), (2004, 2004), (2005, 2005), (2006, 2006), (2007, 2007), (2008, 2008), (2009, 2009), (2010, 2010), (2011, 2011), (2012, 2012), (2013, 2013), (2014, 2014), (2015, 2015), (2016, 2016), (2017, 2017), (2018, 2018), (2019, 2019), (2020, 2020), (2021, 2021), (2022, 2022), (2023, 2023)], default=2020, validators=[django.core.validators.MinValueValidator(1984), api.models.max_value_current_year]), ), migrations.DeleteModel( name='Employee', ), ]
class Migration(migrations.Migration): dependencies = [ ('api', '0011_auto_20201123_1201'), ] operations = [ migrations.AlterField( model_name='product', name='thumbnail', field=imagekit.models.fields.ProcessedImageField( blank=True, null=True, upload_to=api.models.product_directory_path), ), migrations.AlterField( model_name='productimage', name='image', field=models.ImageField( upload_to=api.models.productimage_directory_path), ), migrations.AlterUniqueTogether( name='productimage', unique_together={('product', 'image_type', 'order')}, ), migrations.CreateModel( name='ProductQnA', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('order', models.PositiveSmallIntegerField(verbose_name='순서')), ('question', models.CharField(max_length=100, verbose_name='질문')), ('answer', models.CharField(max_length=100, verbose_name='대답')), ('product', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.Product')), ], options={ 'verbose_name': '상품 문답', 'verbose_name_plural': '상품 문답 목록', 'unique_together': {('product', 'order')}, }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Room', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('code', models.CharField(default=api.models.generate_unique_code, max_length=8)), ('host', models.CharField(max_length=50, unique=True)), ('player1', models.CharField(default=api.models.randomNameP1, max_length=50)), ('player2', models.CharField(default=api.models.randomNameP2, max_length=50)), ('player1_color', models.CharField(default=api.models.pickRandomColor, max_length=7)), ('player2_color', models.CharField(default=api.models.pickRandomColor, max_length=7)), ('num_spectators', models.IntegerField(default=0)), ('curr_turn', models.BooleanField(default=True)), ('player1_turn', models.BooleanField(default=True)), ('player2_turn', models.BooleanField(default=False)), ('AI', models.BooleanField(default=False)), ('created_at', models.DateTimeField(auto_now_add=True)), ('board', models.CharField( default= '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', max_length=765)), ('spectator_list', models.CharField(default='[]', max_length=275)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Device', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=30)), ('img', models.ImageField(blank=True, null=True, upload_to=api.models.load_path)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='RandomNumber', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('number', models.IntegerField(default=api.models.random_number)), ('created_at', models.DateTimeField(default=django.utils.timezone.now)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('api', '0036_auto_20200603_1045'), ] operations = [ migrations.CreateModel( name='Photo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image', models.ImageField(upload_to=api.models.photo_path)), ('timestamp', models.DateTimeField(auto_now=True)), ('visit', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='api.Visit')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('api', '0002_auto_20200424_0215'), ] operations = [ migrations.CreateModel( name='Review', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('username', models.CharField(max_length=200)), ('rating', models.IntegerField()), ('text', models.TextField()), ('game', models.ForeignKey(blank=True, null=True, on_delete=api.models.Category, to='api.Game')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] operations = [ migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('password', models.CharField(max_length=128, verbose_name='password')), ('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')), ('is_superuser', models.BooleanField(default=False, help_text='Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status')), ('first_name', models.CharField(blank=True, max_length=30, verbose_name='first name')), ('last_name', models.CharField(blank=True, max_length=150, verbose_name='last name')), ('email', models.EmailField(blank=True, max_length=254, verbose_name='email address')), ('is_staff', models.BooleanField(default=False, help_text='Designates whether the user can log into this admin site.', verbose_name='staff status')), ('is_active', models.BooleanField(default=True, help_text='Designates whether this user should be treated as active. Unselect this instead of deleting accounts.', verbose_name='active')), ('date_joined', models.DateTimeField(default=django.utils.timezone.now, verbose_name='date joined')), ('is_admin_user', models.BooleanField(default=False)), ('is_user_administrator', models.BooleanField(default=False)), ('is_user_normal', models.BooleanField(default=False)), ('username', models.CharField(max_length=256, unique=True)), ('telephone', models.CharField(max_length=255)), ('cpf', models.CharField(max_length=255)), ('curriculum', models.FileField(blank=True, null=True, upload_to=api.models.user_file_directory_path, validators=[django.core.validators.FileExtensionValidator(allowed_extensions=['pdf'])])), ('deleteDate', models.DateTimeField(blank=True, null=True)), ('isDeleted', models.BooleanField(default=False)), ('groups', models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups')), ('user_permissions', models.ManyToManyField(blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions')), ], options={ 'verbose_name': 'user', 'verbose_name_plural': 'users', 'abstract': False, }, managers=[ ('objects', django.contrib.auth.models.UserManager()), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('api', '0004_feature_mapping_table'), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='ImportJob', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('status', models.CharField(choices=[('pending', 'Pending'), ('failed', 'Failed'), ('done', 'Done')], default='pending', max_length=7)), ('created_at', models.DateTimeField(auto_now_add=True)), ('path', models.FilePathField(default=os.path.join(tempfile.gettempdir(), 'xlsx'), path=api.models.xlsx)), ('requester', models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('api', '0003_auto_20201029_1522'), ] operations = [ migrations.CreateModel( name='MoviesImage', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', django_extensions.db.fields.CreationDateTimeField( auto_now_add=True, verbose_name='created')), ('modified', django_extensions.db.fields.ModificationDateTimeField( auto_now=True, verbose_name='modified')), ('image', django_resized.forms.ResizedImageField( crop=None, force_format=None, keep_meta=True, quality=0, size=[500, 400], upload_to=api.models.Movie_image_path)), ('movie', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.movie')), ('user', models.ForeignKey(default='1', on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'ordering': ['-created'], }, ), ]