class Migration(migrations.Migration): dependencies = [("address", "0002_auto_20160213_1726"), ("sermons", "0007_auto_20190828_0153")] operations = [ migrations.AlterField( model_name="sermonbiblepassage", name="type", field=models.IntegerField( choices=[ (3, "EPISTLE (or Acts / Revelation)"), (1, "PROPHECY (or other Old Testament)"), (4, "GOSPEL"), (5, "OTHER"), (2, "PSALM"), ], default=0, ), ), migrations.CreateModel( name="SermonLocation", fields=[ ("id", models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)), ("created", models.DateTimeField(auto_now_add=True)), ("updated", models.DateTimeField(auto_now=True)), ("name", models.CharField(max_length=255)), ("website", models.URLField(blank=True, null=True)), ( "alternate_names", django.contrib.postgres.fields.ArrayField( base_field=models.CharField(max_length=255), blank=True, help_text= "A list of strings to be matched when importing a sermon.", null=True, size=None, ), ), ( "address", address.models.AddressField( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to="address.Address"), ), ], options={"abstract": False}, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ("address", "0002_auto_20160213_1726"), ] operations = [ migrations.CreateModel( name="Chapter", fields=[ ( "id", models.AutoField( auto_created=True, primary_key=True, serialize=False, verbose_name="ID", ), ), ("name", models.CharField(max_length=50)), ("slug", models.SlugField(default=None, null=True, unique=True)), ( "email", models.EmailField( blank=True, max_length=254, verbose_name="email address" ), ), ( "website", models.URLField( blank=True, help_text="You must include the full URL including https:// or http://", ), ), ( "facebook", models.URLField( blank=True, help_text="You must include the full URL including https:// or http://", ), ), ( "balance", models.DecimalField( decimal_places=2, default=0, help_text="Balance chapter owes.", max_digits=7, ), ), ("balance_date", models.DateField(auto_now_add=True)), ( "tax", models.PositiveIntegerField( blank=True, help_text="Tax number, if chapter participates in group exemption.", null=True, unique=True, ), ), ( "greek", models.CharField( blank=True, help_text="Greek letter abbreviation", max_length=10 ), ), ("active", models.BooleanField(default=True)), ("colony", models.BooleanField(default=False)), ("school", models.CharField(blank=True, max_length=50, unique=True)), ( "latitude", models.DecimalField( blank=True, decimal_places=16, max_digits=22, null=True ), ), ( "longitude", models.DecimalField( blank=True, decimal_places=16, max_digits=22, null=True ), ), ( "school_type", models.CharField( choices=[("semester", "Semester"), ("quarter", "Quarter")], default="semester", max_length=10, ), ), ( "council", models.CharField( default="none", help_text="The name of the council of which your Chapter is a member, for example the IFC or PFC. Please write 'none' if you are not recognized as a Fraternity or not a member of a council.", max_length=55, verbose_name="Name of Council", ), ), ( "recognition", models.CharField( choices=[ ("fraternity", "Recognized as a Fraternity"), ( "org", "Recognized as a Student Organization NOT a Fraternity", ), ( "other", "Recognized but not as a Fraternity or Student Organization", ), ("not_rec", "Not Recognized by University"), ], default="not_rec", help_text="Please indicate if your chapter is recognized by your host college or university.", max_length=10, verbose_name="University Recognition", ), ), ( "address", address.models.AddressField( blank=True, help_text="We periodically need to mail things (shingles, badges, etc) to your chapter.", null=True, on_delete=django.db.models.deletion.SET_NULL, to="address.Address", unique=True, verbose_name="Mailing Address", ), ), ], options={ "ordering": ["name"], }, ), migrations.CreateModel( name="ChapterCurricula", fields=[ ( "id", models.AutoField( auto_created=True, primary_key=True, serialize=False, verbose_name="ID", ), ), ("major", models.CharField(max_length=100)), ( "chapter", models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name="curricula", to="chapters.Chapter", ), ), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('address', '0001_initial'), 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')), ('name', models.CharField(max_length=200)), ], ), migrations.CreateModel( name='Consumer', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Event', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=200)), ('description', models.TextField(blank=True)), ('start_time', models.DateTimeField()), ('end_time', models.DateTimeField()), ('duration', models.IntegerField(default=0)), ('categories', models.ManyToManyField(to='project.Category')), ], ), migrations.CreateModel( name='Location', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('time_to_campus', models.IntegerField(blank=True, null=True)), ('address', address.models.AddressField( on_delete=django.db.models.deletion.CASCADE, to='address.Address')), ], ), migrations.CreateModel( name='Preference', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('weight', models.IntegerField(default=0)), ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='project.Category')), ('consumer', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to='project.Consumer')), ], ), migrations.CreateModel( name='Producer', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('organization', models.CharField(max_length=200)), ('on_campus', models.BooleanField()), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Subscription', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('url', models.URLField(max_length=400)), ('consumer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='project.Consumer')), ], ), migrations.AddField( model_name='event', name='location', field=models.ForeignKey( on_delete=django.db.models.deletion.PROTECT, to='project.Location'), ), migrations.AddField( model_name='event', name='producer', field=models.ForeignKey( on_delete=django.db.models.deletion.PROTECT, to='project.Producer'), ), ]
class Migration(migrations.Migration): dependencies = [ ('local_groups', '0025_auto_20170307_2302'), ] operations = [ migrations.RemoveField( model_name='group', name='meetup_url', ), migrations.AlterField( model_name='group', name='description', field=models.TextField(blank=True, max_length=250, null=True, verbose_name='Description (250 characters or less)'), ), migrations.AlterField( model_name='group', name='facebook_url', field=models.URLField(blank=True, null=True, verbose_name='Facebook URL'), ), migrations.AlterField( model_name='group', name='instagram_url', field=models.URLField(blank=True, null=True, verbose_name='Instagram URL'), ), migrations.AlterField( model_name='group', name='last_meeting', field=models.DateTimeField(blank=True, null=True, verbose_name='Date of Last Meeting'), ), migrations.AlterField( model_name='group', name='name', field=models.CharField(blank=True, max_length=64, null=True, verbose_name='Group Name'), ), migrations.AlterField( model_name='group', name='other_issues', field=models.TextField(blank=True, null=True, verbose_name='Other Issues'), ), migrations.AlterField( model_name='group', name='other_social', field=models.TextField(blank=True, null=True, verbose_name='Other Social Media'), ), migrations.AlterField( model_name='group', name='other_types_of_organizing', field=models.TextField(blank=True, null=True, verbose_name='Other Types of Organizing'), ), migrations.AlterField( model_name='group', name='recurring_meeting', field=recurrence.fields.RecurrenceField(blank=True, null=True, verbose_name='Recurring Meeting'), ), migrations.AlterField( model_name='group', name='recurring_meeting_location', field=address.models.AddressField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='address.Address', verbose_name='Recurring Meeting Address'), ), migrations.AlterField( model_name='group', name='rep_email', field=models.EmailField(blank=True, max_length=254, null=True, verbose_name='Contact Email'), ), migrations.AlterField( model_name='group', name='rep_first_name', field=models.CharField(blank=True, max_length=9, null=True, verbose_name='First Name'), ), migrations.AlterField( model_name='group', name='rep_last_name', field=models.CharField(blank=True, max_length=12, null=True, verbose_name='Last Name'), ), migrations.AlterField( model_name='group', name='rep_phone', field=phonenumber_field.modelfields.PhoneNumberField(blank=True, max_length=128, null=True, verbose_name='Phone Number'), ), migrations.AlterField( model_name='group', name='rep_postal_code', field=models.CharField(blank=True, max_length=12, null=True, verbose_name='Postal Code'), ), migrations.AlterField( model_name='group', name='signup_date', field=models.DateTimeField(auto_now_add=True, null=True), ), migrations.AlterField( model_name='group', name='twitter_url', field=models.URLField(blank=True, null=True, verbose_name='Twitter URL'), ), migrations.AlterField( model_name='group', name='types_of_organizing', field=multiselectfield.db.fields.MultiSelectField(blank=True, choices=[('direct-action', 'Direct Action'), ('electoral', 'Electoral Organizing'), ('legistlative', 'Advocating for Legislation or Ballot Measures'), ('community', 'Community Organizing'), ('other', 'Other')], max_length=52, null=True, verbose_name='Types of Organizing'), ), migrations.AlterField( model_name='group', name='website_url', field=models.URLField(blank=True, null=True, verbose_name='Website URL'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('wagtailcore', '0060_fix_workflow_unique_constraint'), ('address', '0003_auto_20200830_1851'), ('wagtailimages', '0023_add_choose_permissions'), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='APIResult', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('timestamp', models.DateTimeField(auto_now_add=True)), ('source', models.CharField(blank=True, max_length=255)), ('data', models.JSONField()), ('model', models.CharField(blank=True, max_length=50)), ], ), migrations.CreateModel( name='Contact_Card', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('details', models.JSONField(null=True, verbose_name='Contact Card')), ('first_name', models.CharField(max_length=255, verbose_name='First name')), ('last_name', models.CharField(max_length=255, verbose_name='Last name')), ('email', models.EmailField(max_length=254, null=True)), ('office_phone', phonenumber_field.modelfields.PhoneNumberField(max_length=128, null=True, region=None)), ('cell_phone', phonenumber_field.modelfields.PhoneNumberField(max_length=128, null=True, region=None)), ('account', models.ForeignKey( null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='account', to=settings.AUTH_USER_MODEL)), ('address', address.models.AddressField( null=True, on_delete=django.db.models.deletion.SET_NULL, to='address.address')), ], ), migrations.CreateModel( name='EntityPage', fields=[ ('page_ptr', models.OneToOneField( auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.page')), ('priority_slug', models.BooleanField( blank=True, null=True, verbose_name= 'Select if this page should be a top level slug for the site regardless of how deeply nested it is. Only do this for pages that should be easily accessible and have unique slugs.' )), ('introduction', models.TextField(blank=True, help_text='Text to describe the page')), ('body', wagtail.core.fields.RichTextField(blank=True)), ('website', models.URLField(blank=True, default='')), ('social', models.JSONField(blank=True, verbose_name='Social media accounts')), ('data', models.JSONField(blank=True, null=True)), ('address', address.models.AddressField( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='address.address')), ('contacts', modelcluster.fields.ParentalManyToManyField( blank=True, related_name='representing', to='cartomancer.Contact_Card')), ('hero', models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image')), ], options={ 'abstract': False, }, bases=('wagtailcore.page', ), ), migrations.CreateModel( name='AirBnBPage', fields=[ ('entitypage_ptr', models.OneToOneField( auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='cartomancer.entitypage')), ], options={ 'abstract': False, }, bases=('cartomancer.entitypage', ), ), migrations.CreateModel( name='Location_Pin', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('coords', django.contrib.gis.db.models.fields.PointField( blank=True, default='POINT(-93.29067081212997 37.230544082999714)', geography=True, null=True, srid=4326)), ('plus', models.CharField(blank=True, max_length=20)), ('address', address.models.AddressField( blank=True, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='address.address')), ], ), migrations.AddField( model_name='entitypage', name='map', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='entities', to='cartomancer.location_pin'), ), migrations.CreateModel( name='EntityOperatingHours', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('sort_order', models.IntegerField(blank=True, editable=False, null=True)), ('day', models.CharField(choices=[('MON', 'Monday'), ('TUES', 'Tuesday'), ('WED', 'Wednesday'), ('THUR', 'Thursday'), ('FRI', 'Friday'), ('SAT', 'Saturday'), ('SUN', 'Sunday')], default='MON', max_length=4)), ('opening_time', models.TimeField(blank=True, null=True)), ('closing_time', models.TimeField(blank=True, null=True)), ('closed', models.BooleanField( blank=True, help_text='Tick if entity is closed on this day', verbose_name='Closed?')), ('entity', modelcluster.fields.ParentalKey( on_delete=django.db.models.deletion.CASCADE, related_name='hours_of_operation', to='cartomancer.entitypage')), ], options={ 'ordering': ['sort_order'], 'abstract': False, }, ), migrations.CreateModel( name='EntitiesIndexPage', fields=[ ('page_ptr', models.OneToOneField( auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.page')), ('priority_slug', models.BooleanField( blank=True, null=True, verbose_name= 'Select if this page should be a top level slug for the site regardless of how deeply nested it is. Only do this for pages that should be easily accessible and have unique slugs.' )), ('introduction', models.TextField(blank=True, help_text='Text to describe the page')), ('hero', models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image')), ], options={ 'abstract': False, }, bases=('wagtailcore.page', ), ), ]