class Migration(migrations.Migration): dependencies = [ ('database', '0011_auto_20171113_2021'), ] operations = [ migrations.AlterField( model_name='user', name='photo', field=models.ImageField(blank=True, upload_to=database.models._upload_path), ), ]
class Migration(migrations.Migration): dependencies = [ ('database', '0023_merge_20171128_1853'), ] operations = [ migrations.AlterField( model_name='capsule', name='description', field=models.TextField(default=''), ), migrations.AlterField( model_name='capsule', name='title', field=models.CharField(max_length=255), ), migrations.AlterField( model_name='user', name='photo', field=models.ImageField(blank=True, upload_to=database.models._upload_path), ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Fotos', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('foto', models.ImageField(upload_to=database.models.upload_to)), ], ), migrations.CreateModel( name='Grupo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('t_inicio', models.DateTimeField( verbose_name='data e horário de inicio')), ('t_fim', models.DateTimeField(verbose_name='data e horário de fim')), ('n_total', models.PositiveSmallIntegerField(default=5)), ('n_atual', models.PositiveSmallIntegerField(default=1)), ('local', models.CharField(max_length=200)), ], ), migrations.CreateModel( name='Materia', fields=[ ('codigo', models.CharField(max_length=8, primary_key=True, serialize=False)), ('turma', models.CharField(max_length=2)), ], ), migrations.CreateModel( name='Periodo', fields=[ ('periodo', models.PositiveSmallIntegerField(primary_key=True, serialize=False)), ('materia_key', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='database.Materia')), ], ), migrations.CreateModel( name='Recursos', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('nome', models.CharField(max_length=80)), ('descricao', models.CharField(max_length=500)), ], ), migrations.CreateModel( name='URLs', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('url', models.URLField(verbose_name='')), ('recurso_id', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='database.Recursos')), ], ), migrations.AddField( model_name='materia', name='periodo_key', field=models.ForeignKey( on_delete=django.db.models.deletion.PROTECT, to='database.Periodo'), ), migrations.AddField( model_name='grupo', name='materia_key', field=models.ForeignKey( on_delete=django.db.models.deletion.PROTECT, to='database.Materia'), ), migrations.AddField( model_name='fotos', name='recurso_id', field=models.ForeignKey( on_delete=django.db.models.deletion.PROTECT, to='database.Recursos'), ), migrations.AlterUniqueTogether( name='materia', unique_together=set([('codigo', 'turma')]), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='AIC_Company', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('submission_date', models.DateTimeField(null=True)), ('company_name', models.CharField(max_length=100)), ('company_description', tinymce.models.HTMLField(blank=True)), ('logo', models.ImageField(blank=True, max_length=50, upload_to='./AIC_CompanyPhotos')), ('problem_statement_details', models.TextField(blank=True)), ('problem_statement_file', models.FileField(blank=True, upload_to='./Problem_Statements')), ('allowed', models.BooleanField(default=True, verbose_name='Display on site')), ], options={ 'db_table': 'aic_company_details', }, ), migrations.CreateModel( name='AIC_Discipline', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('stream', models.CharField(max_length=50)), ], ), migrations.CreateModel( name='AIC_Solution', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('team_name', models.CharField(max_length=100, verbose_name='Team Name* (Create any single word teamname.) ')), ('project_name', models.CharField(max_length=100, verbose_name='Project Name* (Preferably Problem Name.) ')), ('member_one_name', models.CharField(max_length=100, verbose_name='Member One Name* ')), ('member_one_email', models.EmailField(blank=True, max_length=254, verbose_name='Member One Email* ')), ('member_two_name', models.CharField(blank=True, max_length=100, verbose_name='Member Two Name ')), ('member_two_email', models.EmailField(blank=True, max_length=254, verbose_name='Member Two Email ')), ('member_three_name', models.CharField(blank=True, max_length=100, verbose_name='Member Three Name ')), ('member_three_email', models.EmailField(blank=True, max_length=254, verbose_name='Member Three Email ')), ('member_four_name', models.CharField(blank=True, max_length=100, verbose_name='Member Four Name ')), ('member_four_email', models.EmailField(blank=True, max_length=254, verbose_name='Member Four Email ')), ('member_five_name', models.CharField(blank=True, max_length=100, verbose_name='Member Five Name ')), ('member_five_email', models.EmailField(blank=True, max_length=254, verbose_name='Member Five Email ')), ('description', models.TextField(blank=True, verbose_name='Briefly describe your solution (at max 500 characters.) ')), ('company_discipline', models.CharField(default='Not Applicable', max_length=50, verbose_name='Choose the track under which you are applying for the company*')), ], ), migrations.CreateModel( name='Atmos', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date', models.DateTimeField(null=True)), ('topic', tinymce.models.HTMLField(max_length=50, null=True)), ('moreinfo', tinymce.models.HTMLField(blank=True)), ('photo', models.ImageField(blank=True, max_length=50, upload_to='AtmosPhotos')), ('discussion', models.TextField(blank=True)), ('allowed', models.BooleanField(default=True, verbose_name='Display on site')), ('venue', models.CharField(max_length=10)), ('campus', models.CharField(max_length=10)), ], options={ 'db_table': 'atmos', }, ), migrations.CreateModel( name='Discipline', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('stream', models.CharField(max_length=50)), ], ), migrations.CreateModel( name='Document', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('team_name', models.CharField(max_length=100)), ('company_name', models.CharField(max_length=100)), ('docfile', models.FileField(upload_to=database.models.get_upload_path)), ], ), migrations.CreateModel( name='Event', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image', models.ImageField(upload_to='events')), ('allowed', models.BooleanField(default=True)), ('description', tinymce.models.HTMLField()), ('name', models.CharField(max_length=50)), ], ), migrations.CreateModel( name='Feedback', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('feedback', models.FileField(blank=True, upload_to='feedback')), ('slides', models.FileField(blank=True, max_length=150, upload_to='slides')), ('video_link', models.URLField(blank=True, max_length=50)), ('poster', models.ImageField(blank=True, max_length=150, upload_to='posters')), ], ), migrations.CreateModel( name='Gallery', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(blank=True, max_length=50, verbose_name='Heading')), ('photo', models.ImageField(max_length=50, upload_to='images_gallery')), ('details', models.TextField(blank=True)), ('allowed', models.BooleanField(default=True)), ], options={ 'verbose_name_plural': 'Gallery', }, ), migrations.CreateModel( name='Lecture', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date', models.DateTimeField(null=True)), ('topic', models.CharField(max_length=500)), ('moreinfo', tinymce.models.HTMLField(blank=True)), ('photo', models.ImageField(blank=True, max_length=50, upload_to='Speakerphotos')), ('discussion', models.TextField(blank=True)), ('allowed', models.BooleanField(default=True, verbose_name='Display on site')), ('venue', models.CharField(max_length=100)), ('campus', models.CharField(max_length=50)), ('discipline', models.ManyToManyField(to='database.Discipline')), ], options={ 'db_table': 'lectures', }, ), migrations.CreateModel( name='LecturesDiscipline', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('lecture_id', models.CharField(max_length=50)), ('discipline_id', models.CharField(max_length=50)), ], options={ 'db_table': 'lec_discipline', }, ), migrations.CreateModel( name='Newsletter', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=150)), ('newsletter', models.FileField(max_length=150, upload_to='newsletters')), ('allowed', models.BooleanField(default=True, verbose_name='Publish on site')), ], ), migrations.CreateModel( name='PagesContent', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=50, verbose_name='Page Name')), ('link', models.CharField(blank=True, max_length=50, verbose_name='Page Link')), ('content', tinymce.models.HTMLField(verbose_name='Put content of page here')), ], options={ 'verbose_name_plural': 'Pages Content', }, ), migrations.CreateModel( name='Presenter', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(db_column='Name', max_length=50)), ('credentials', tinymce.models.HTMLField(blank=True, db_column='Credentials', help_text='Enter the current designation of the speaker, and past work experience')), ('profile', tinymce.models.HTMLField(db_column='Profile', help_text='Enter the qualification and other details')), ('email', models.EmailField(blank=True, max_length=50, verbose_name='e-mail')), ('address', tinymce.models.HTMLField(blank=True)), ], options={ 'db_table': 'presenters', }, ), migrations.CreateModel( name='SignUp', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('first_name', models.CharField(max_length=50, verbose_name='First Name*')), ('last_name', models.CharField(max_length=50, verbose_name='Last Name*')), ('email', models.EmailField(max_length=50, verbose_name='E-mail*')), ('alumni', models.BooleanField(verbose_name='Are you an alumni?')), ('batch', models.IntegerField()), ('address', models.TextField(blank=True)), ('discipline_first', models.CharField(blank=True, default='Other', max_length=50)), ('discipline_dual', models.CharField(blank=True, default='Not Applicable', max_length=50)), ('phone', models.CharField(blank=True, default='+91', max_length=13)), ('biography', models.TextField(blank=True, verbose_name='Short Biography')), ('lect_topics', models.TextField(verbose_name='What topics would you like to give the lecture on?*')), ('talk_discipline', models.CharField(blank=True, default='Interdisciplinary', max_length=50, verbose_name='Select the Discipline that matches the topics you wish to deliver a talk on')), ], ), migrations.AddField( model_name='lecture', name='presenter', field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='database.Presenter'), ), migrations.AddField( model_name='feedback', name='lecture', field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='database.Lecture'), ), migrations.AddField( model_name='atmos', name='discipline', field=models.ManyToManyField(to='database.Discipline'), ), migrations.AddField( model_name='aic_company', name='discipline', field=models.ManyToManyField(to='database.AIC_Discipline'), ), ]
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')), ('username', models.CharField( help_text= 'Required. 15 characters or fewer. Letters, numbers and @/./+/-/_ characters', max_length=15, unique=True, validators=[ django.core.validators.RegexValidator( re.compile('^[\\w.@+-]+$'), 'Enter a valid username.', 'invalid') ], verbose_name='username')), ('first_name', models.CharField(max_length=30, verbose_name='first name')), ('last_name', models.CharField(max_length=30, verbose_name='last name')), ('email', models.EmailField(max_length=255, unique=True, verbose_name='email address')), ('profile_pic', models.ImageField( blank=True, upload_to=database.models.User.upload_path)), ('CPF', models.CharField(max_length=16, unique=True, verbose_name='CPF')), ('birthdate', models.DateTimeField(blank=True, null=True, verbose_name='birthdate')), ('usertype', models.IntegerField( blank=True, null=True, validators=[django.core.validators.MaxValueValidator(5)], verbose_name='usertype')), ('sign_in_status', models.IntegerField( blank=True, null=True, validators=[django.core.validators.MaxValueValidator(5)], verbose_name='sign in status')), ('user_code', models.IntegerField( blank=True, null=True, validators=[ django.core.validators.MaxValueValidator(999999999) ], verbose_name='user code')), ('access_token', models.TextField(blank=True, null=True, verbose_name='access token')), ('access_token_created_at', models.DateTimeField(blank=True, null=True, verbose_name='access token created at')), ('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_trusty', models.BooleanField( default=False, help_text= 'Designates whether this user has confirmed his account.', verbose_name='trusty')), ('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', }, ), migrations.CreateModel( name='FAQCategory', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=200)), ], ), migrations.CreateModel( name='Location', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=200)), ('latitude', models.FloatField()), ('longitude', models.FloatField()), ('latitudeDelta', models.FloatField()), ('longitudeDelta', models.FloatField()), ], ), migrations.CreateModel( name='Teste', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('stringArr', django.contrib.postgres.fields.ArrayField( base_field=models.ImageField(blank=True, upload_to='upload_path'), size=8)), ], ), migrations.CreateModel( name='SituationalDocumentPic', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('document_type', models.CharField(max_length=100)), ('document_pic', models.ImageField( blank=True, upload_to=database.models.SituationalDocumentPic. upload_document_path)), ('user_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='OfficialDocumentPic', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('document_type', models.CharField(max_length=100)), ('document_pic', models.ImageField(blank=True, upload_to=database.models. OfficialDocumentPic.upload_document_path)), ('user_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='FAQ', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('question', models.TextField()), ('answer', models.TextField()), ('categoy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='database.FAQCategory')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('database', '0013_merge_20171121_2248'), ] operations = [ migrations.RemoveField( model_name='capsule', name='comments', ), migrations.RemoveField( model_name='capsule', name='letters', ), migrations.RemoveField( model_name='capsule', name='contributors', ), migrations.AddField( model_name='capsule', name='contributors', field=models.ManyToManyField(related_name='contributors', to=settings.AUTH_USER_MODEL), ), migrations.AlterField( model_name='capsule', name='description', field=models.TextField(), ), migrations.AlterField( model_name='capsule', name='media', field=models.FileField(blank=True, upload_to=database.models._upload_path), ), migrations.AlterField( model_name='capsule', name='owner', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='owner', to=settings.AUTH_USER_MODEL), ), migrations.RemoveField( model_name='capsule', name='recipients', ), migrations.AddField( model_name='capsule', name='recipients', field=models.ManyToManyField(related_name='recipients', to=settings.AUTH_USER_MODEL), ), migrations.AlterField( model_name='capsule', name='title', field=models.TextField(), ), migrations.AlterField( model_name='user', name='location', field=models.TextField(), ), migrations.AlterField( model_name='user', name='photo', field=models.ImageField(blank=True, upload_to=database.models._upload_path), ), ]