Skip to content

Instantly share code, notes, and snippets.

@benmezger
Last active November 29, 2019 17:05
Show Gist options
  • Save benmezger/7e63f6a9e3b468b1838c67a7bd4a2bc4 to your computer and use it in GitHub Desktop.
Save benmezger/7e63f6a9e3b468b1838c67a7bd4a2bc4 to your computer and use it in GitHub Desktop.
# Generated by Django 2.0.8 on 2019-11-27 14:09
import django.contrib.postgres.fields
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion
import modelcluster.fields
import store.models
import wagtail.contrib.routable_page.models
import wagtail.core.fields
# Functions from the following migrations need manual copying.
# Move them and any dependencies into this file, then update the
# RunPython operations to refer to the local versions:
# store.migrations.0060_auto_20190828_0652
class Migration(migrations.Migration):
replaces = [('store', '0001_initial'), ('store', '0002_auto_20180927_1636'), ('store', '0003_orderinfo_created'), ('store', '0004_product_is_visible'), ('store', '0005_auto_20181018_2007'), ('store', '0006_auto_20181025_1407'), ('store', '0007_auto_20181024_2002'), ('store', '0008_auto_20181025_1904'), ('store', '0009_auto_20181105_1946'), ('store', '0009_shippingflatrate_is_postal_office_box'), ('store', '0010_auto_20181105_1546'), ('store', '0011_auto_20181105_1940'), ('store', '0012_giftsetpage_product_card_gift_back_button_link'), ('store', '0013_auto_20181115_1259'), ('store', '0014_product_is_free_shipping'), ('store', '0015_auto_20181115_1732'), ('store', '0016_emailinglistshipmentrule_orders_type'), ('store', '0017_giftsetpage_email_base_subject'), ('store', '0018_freeitem_sku'), ('store', '0019_auto_20181130_1528'), ('store', '0020_newrentalpage'), ('store', '0021_auto_20190212_0150'), ('store', '0022_auto_20190215_1526'), ('store', '0023_accountingfulfillmentreportmerge'), ('store', '0024_product_upc'), ('store', '0025_auto_20190301_1731'), ('store', '0026_auto_20190305_1813'), ('store', '0027_newrentalpage_product_image'), ('store', '0028_auto_20190306_1401'), ('store', '0029_newrentalpage_pickup_rental'), ('store', '0030_custominvoicecartpage_customproduct'), ('store', '0031_auto_20190325_2134'), ('store', '0032_customproduct_sku'), ('store', '0033_custominvoicecartpage_invoice_name'), ('store', '0034_auto_20190328_1140'), ('store', '0035_cartpage_pre_loaded_item'), ('store', '0036_customproduct_is_free_shipping'), ('store', '0037_customproductsorder'), ('store', '0038_auto_20190410_0640'), ('store', '0039_newrentalpage_step_two_delivery_label_error'), ('store', '0040_auto_20190426_1110'), ('store', '0041_country_is_popular_enabled'), ('store', '0042_auto_20190513_1152'), ('store', '0043_rentalpage_allow_pickup'), ('store', '0044_auto_20190520_1139'), ('store', '0045_couponcodesbatch_buy_one_get'), ('store', '0046_remove_couponcodesbatch_buy_one_get'), ('store', '0047_storevendingmachinecode'), ('store', '0048_auto_20190620_0930'), ('store', '0049_auto_20190625_1019'), ('store', '0050_newrentalpage_allow_same_date'), ('store', '0051_partnerlocation'), ('store', '0052_auto_20190717_1000'), ('store', '0053_productfeature'), ('store', '0054_orderinfo_mewfi_id'), ('store', '0055_accountingmilessmilesreport'), ('store', '0056_zoomvendingordernumber'), ('store', '0057_newrentalpage_hero_background_image'), ('store', '0058_auto_20190823_0531'), ('store', '0059_auto_20190823_1212'), ('store', '0060_auto_20190828_0652'), ('store', '0061_auto_20190828_0723'), ('store', '0062_auto_20190917_1258'), ('store', '0063_auto_20190926_1256'), ('store', '0064_notificationemail'), ('store', '0065_auto_20191106_1122'), ('store', '0066_auto_20191108_0644'), ('store', '0067_auto_20191120_1245'), ('store', '0068_auto_20191121_0541'), ('store', '0069_auto_20191121_0556'), ('store', '0070_auto_20191121_0704'), ('store', '0071_product_custom_shipping_rate')]
initial = True
dependencies = [
('website', '0010_auto_20181026_1547'),
('wagtailcore', '0040_page_draft_title'),
('wagtailimages', '0021_image_file_hash'),
('website', '0031_oldwifipricingpage_oldwifipricingpagetestimonialsplacement'),
('website', '0034_auto_20190426_0805'),
('website', '0021_auto_20190129_2029'),
('website', '0001_initial'),
('website', '0006_auto_20181017_1527'),
]
operations = [
migrations.CreateModel(
name='Accessory',
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)),
('max_quantity', models.PositiveIntegerField()),
],
options={
'ordering': ['sort_order'],
'abstract': False,
},
),
migrations.CreateModel(
name='Bundle',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('slug', models.CharField(max_length=40)),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='BundleImage',
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)),
('bundle', modelcluster.fields.ParentalKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='bundle_images', to='store.Bundle')),
('image', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image')),
],
options={
'ordering': ['sort_order'],
'abstract': False,
},
),
migrations.CreateModel(
name='BundleInfo',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=80)),
('subtitle', models.CharField(blank=True, max_length=255)),
('short_description', wagtail.core.fields.RichTextField(blank=True, null=True)),
('full_description', wagtail.core.fields.RichTextField(blank=True, null=True)),
('bundle', modelcluster.fields.ParentalKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='bundle_infos', to='store.Bundle')),
('region', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='bundles', to='website.Region')),
],
),
migrations.CreateModel(
name='BundleProductsRelationship',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('bundle', modelcluster.fields.ParentalKey(on_delete=django.db.models.deletion.CASCADE, related_name='bundle_products', to='store.Bundle')),
],
),
migrations.CreateModel(
name='CartPage',
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')),
('keywords', models.CharField(blank=True, max_length=100, null=True)),
('subscribe_form_id', models.CharField(default='a34f0088-40f3-4bed-9e89-0c827d78102f', max_length=100)),
('allowed_on_robots', models.BooleanField(default=True)),
('show_driftbot', models.BooleanField(default=False, help_text='Check this to show Driftbot on this page')),
('daypasses_badge', models.CharField(blank=True, max_length=40, null=True)),
('daypasses_badge_offer_info', models.CharField(blank=True, max_length=40, null=True)),
('box_content_title', models.CharField(blank=True, max_length=40, null=True)),
('box_content_items', models.TextField(blank=True, help_text='The items must be written one per line.', null=True)),
('cart_loading_message', models.CharField(default='Loading Cart', max_length=40)),
('cart_title_text', models.CharField(default='CART', max_length=40)),
('cart_button_text', models.CharField(default='Proceed to Checkout', max_length=40)),
('cart_shipping_price_text', models.CharField(default='Shipping', max_length=40)),
('cart_subtotal_price_text', models.CharField(default='SUBTOTAL', max_length=40)),
('cart_discount_price_text', models.CharField(default='DISCOUNT', max_length=40)),
('cart_total_price_text', models.CharField(default='TOTAL', max_length=40)),
('cart_optin_message', models.CharField(default='Subscribe to our newsletter', max_length=40)),
('cart_step_1_label', models.CharField(default='Your Cart', max_length=80)),
('cart_step_2_label', models.CharField(default='Billing Address', max_length=80)),
('cart_step_2_2_label', models.CharField(default='Shipping Address', max_length=80)),
('cart_step_3_label', models.CharField(default='Shipping Method', max_length=80)),
('cart_step_4_label', models.CharField(default='Paymend Method', max_length=80)),
('cart_step_5_label', models.CharField(default='Confirm Order', max_length=80)),
('cart_lightbox_secure_checkout', models.CharField(default='Secure Checkout', max_length=80)),
('cart_lightbox_subtotal', models.CharField(default='SUBTOTAL', max_length=40)),
('cart_lightbox_items_quantity', models.CharField(default='ITEMS ON CART:', max_length=40)),
('cart_lightbox_billing_address_previous_step', models.CharField(default='BACK TO CART', max_length=40)),
('cart_lightbox_billing_address_next_step', models.CharField(default='NEXT STEP', max_length=40)),
('cart_lightbox_shipping_address_previous_step', models.CharField(default='PREVIOUS STEP', max_length=40)),
('cart_lightbox_shipping_address_next_step', models.CharField(default='NEXT STEP', max_length=40)),
('cart_lightbox_shipping_method_previous_step', models.CharField(default='PREVIOUS STEP', max_length=40)),
('cart_lightbox_shipping_method_next_step', models.CharField(default='NEXT STEP', max_length=40)),
('cart_lightbox_payment_method_previous_step', models.CharField(default='PREVIOUS STEP', max_length=40)),
('cart_lightbox_payment_method_next_step', models.CharField(default='NEXT STEP', max_length=40)),
('cart_lightbox_confirm_order_previous_step', models.CharField(default='PREVIOUS STEP', max_length=40)),
('cart_lightbox_confirm_order_next_step', models.CharField(default='PLACE_ORDER', max_length=40)),
('cart_lightbox_confirm_order_next_step_subtitle', wagtail.core.fields.RichTextField(blank=True, max_length=400, null=True)),
('cart_lightbox_processing_order_title', models.CharField(default='Your order is being processed', max_length=100)),
('cart_lightbox_processing_order_subtitle', models.CharField(default='To ensure your order is not interrupted, please avoid clicking the back of refresh button', max_length=255)),
('cart_hide_discount_code_input', models.BooleanField(default=True)),
('cart_discount_tax_info', wagtail.core.fields.RichTextField(default='Discount, tax and shipping applied at checkout.', max_length=100)),
('cart_discount_code_text', models.CharField(default='Discount Code', max_length=30)),
('cart_discount_code_button_text', models.CharField(default='APPLY DISCOUNT', max_length=20)),
('cart_discount_code_error_message_text', models.CharField(default='Invalid discount code', max_length=40)),
('cart_discount_code_success_message_text', models.CharField(default='Discount Code Applied', max_length=40)),
('credit_cards_info', models.CharField(default='All major credit cards accepted', max_length=100)),
('daypasses_info_tooltip', models.CharField(blank=True, max_length=100, null=True)),
('daypasses_info_tooltip_content', models.TextField(blank=True, null=True)),
('accessories_section_title', models.CharField(default='Accessorize Your Skyroam Solis', max_length=40)),
('accessories_quantity_text', models.CharField(default='Qty', max_length=20)),
('accessories_cart_button_text', models.CharField(default='Add to Cart', max_length=40)),
('warranty_info_title', models.CharField(default='ANY QUESTIONS?', max_length=40)),
('warranty_info_subtitle', models.CharField(default='Email us:', max_length=100)),
('warranty_info_email', models.CharField(default='support@skyroam.com', max_length=100)),
('warranty_info_extra', models.CharField(default='24/7 customer support', max_length=100)),
('warranty_info_url', models.URLField(blank=True, null=True)),
('international_cart_title', models.CharField(default='International Shipping Available', max_length=40)),
('international_cart_subtitle', models.CharField(default='Skyroam is a global service, and we deliver internationally.', max_length=100)),
('payment_cards_info_title', models.CharField(default='We accept major cards', max_length=40)),
('shipping_info_title', models.CharField(default='Need it today?', max_length=40)),
('shipping_info_subtitle', wagtail.core.fields.RichTextField(blank=True, default='Visit one of our <a href="http://www.skyroam.com/skyroam-store-locator">retail partners</a> around the world.', null=True)),
('rights_reserverd_text', models.CharField(default='© 2018. All rights reserved.', max_length=100)),
('banner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='website.Banner')),
('bundle', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='store.Bundle')),
('footer', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Footer')),
('header', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Header')),
('lightbox', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='website.AbandonPopUp')),
],
options={
'abstract': False,
},
bases=(wagtail.contrib.routable_page.models.RoutablePageMixin, 'wagtailcore.page'),
),
migrations.CreateModel(
name='Continent',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('code', models.CharField(max_length=50)),
],
),
migrations.CreateModel(
name='ContinentInfo',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=200)),
('continent', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='store.Continent')),
('region', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Region')),
],
),
migrations.CreateModel(
name='Country',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('code', models.CharField(max_length=50, unique=True)),
('display_name', models.CharField(blank=True, max_length=50, null=True)),
('continent', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='store.Continent')),
('region', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='countries', to='website.Region')),
('is_popular', models.BooleanField(default=False)),
],
options={
'verbose_name': 'Country',
'verbose_name_plural': 'Countries',
'ordering': ['display_name'],
},
),
migrations.CreateModel(
name='CountryInfo',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=200)),
('country', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='store.Country')),
('region', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Region')),
],
),
migrations.CreateModel(
name='CouponCodesBatch',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('available_coupon_codes', django.contrib.postgres.fields.ArrayField(base_field=models.CharField(max_length=50), blank=True, size=None)),
('used_coupon_codes', django.contrib.postgres.fields.ArrayField(base_field=models.CharField(max_length=50), blank=True, default=list, help_text='Already used coupon codes. This field should not be edited.', null=True, size=None)),
('in_hold_coupon_codes', django.contrib.postgres.fields.ArrayField(base_field=models.CharField(max_length=50), blank=True, default=list, help_text='Not spent coupon codes. This field should not be edited.', null=True, size=None)),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='DropOff',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('country', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='store.Country')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='DropOffInfo',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=200)),
('instructions', models.TextField()),
('dropoff', modelcluster.fields.ParentalKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dropoff_infos', to='store.DropOff')),
('region', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='website.Region')),
],
),
migrations.CreateModel(
name='FreeItem',
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)),
('name', models.CharField(max_length=255)),
('quantity', models.PositiveIntegerField()),
('value', models.DecimalField(decimal_places=2, max_digits=10)),
],
options={
'ordering': ['name'],
},
),
migrations.CreateModel(
name='OrderInfo',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('token', models.CharField(max_length=255)),
('invoice_number', models.CharField(blank=True, max_length=255, null=True)),
('tracking_number', models.CharField(blank=True, max_length=255, null=True)),
('order_status', models.CharField(blank=True, max_length=100, null=True)),
('payment_status', models.CharField(blank=True, max_length=100, null=True)),
('shipstation_id', models.CharField(blank=True, max_length=50, null=True)),
('hubspot_customer_id', models.CharField(blank=True, max_length=50, null=True)),
('signifyd_id', models.CharField(blank=True, max_length=50, null=True)),
('refersion_affiliate_id', models.CharField(blank=True, max_length=50, null=True)),
('shipping_fee', models.FloatField()),
('shipping_method', models.CharField(max_length=100)),
('portal_service_coupon_code', models.CharField(blank=True, max_length=100, null=True)),
('vendor', models.CharField(choices=[('Skyroam', 'Skyroam Vendor'), ('Coupang', 'Coupang Vendor'), ('Lazada', 'Lazada Vendor')], default='Skyroam', max_length=20)),
('shipping_address', django.contrib.postgres.fields.jsonb.JSONField()),
('billing_address', django.contrib.postgres.fields.jsonb.JSONField()),
('metadata', django.contrib.postgres.fields.jsonb.JSONField()),
('discounts', django.contrib.postgres.fields.jsonb.JSONField(blank=True, null=True)),
('summary', django.contrib.postgres.fields.jsonb.JSONField()),
('user', django.contrib.postgres.fields.jsonb.JSONField()),
('creation_payload', django.contrib.postgres.fields.jsonb.JSONField(blank=True, null=True)),
('region', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='purchased_orders', to='website.Region')),
('shipping_region', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='deliverable_orders', to='website.Region')),
],
options={
'verbose_name': 'OrderInfo',
'verbose_name_plural': 'Orders Info',
'ordering': ['-invoice_number'],
},
),
migrations.CreateModel(
name='Partner',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('partner_type', models.CharField(choices=[('RETAIL', 'Retailers'), ('TRAVEL', 'Travel'), ('VENDING_MACHINE', 'Vending Machines')], default='RETAIL', max_length=64)),
('label', models.CharField(default='Partner Label', max_length=255)),
('name', models.CharField(max_length=255)),
('full_address', models.CharField(max_length=255)),
('address', models.CharField(max_length=255)),
('logo', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image')),
],
),
migrations.CreateModel(
name='Pickup',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('notice_days', models.PositiveIntegerField(help_text='Minimum quantity of days to the item arrive')),
('country', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='country_pickups', to='store.Country')),
('dropoffs', models.ManyToManyField(help_text='Places where customers who chooses this Pickup option can drop off the item', related_name='catchable_pickups', to='store.DropOff')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='PickupInfo',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=200)),
('instructions', models.TextField()),
('pickup', modelcluster.fields.ParentalKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='pickup_infos', to='store.Pickup')),
('region', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='website.Region')),
],
),
migrations.CreateModel(
name='Price',
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)),
('value', models.DecimalField(decimal_places=2, max_digits=10)),
],
options={
'ordering': ['sort_order'],
'abstract': False,
},
),
migrations.CreateModel(
name='ProcessingOrderPage',
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')),
('keywords', models.CharField(blank=True, max_length=100, null=True)),
('subscribe_form_id', models.CharField(default='a34f0088-40f3-4bed-9e89-0c827d78102f', max_length=100)),
('allowed_on_robots', models.BooleanField(default=True)),
('show_driftbot', models.BooleanField(default=False, help_text='Check this to show Driftbot on this page')),
('processing_order_title', models.CharField(default='Your order is being processed', max_length=100)),
('processing_order_subtitle', models.CharField(default='To ensure your order is not interrupted, please avoid clicking the back of refresh button', max_length=255)),
('banner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='website.Banner')),
('footer', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Footer')),
('header', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Header')),
('lightbox', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='website.AbandonPopUp')),
('region', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Region')),
('show_zendesk', models.BooleanField(default=False, help_text='Check this to show Zendesk on this page')),
('new_header', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.NewHeader')),
],
options={
'abstract': False,
},
bases=('wagtailcore.page',),
),
migrations.CreateModel(
name='Product',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('sku', models.CharField(blank=True, max_length=255)),
('name', models.CharField(blank=True, max_length=255)),
('slug', models.CharField(blank=True, max_length=50)),
('max_quantity', models.PositiveIntegerField()),
('is_upgrade', models.BooleanField(default=False)),
('is_unique', models.BooleanField(default=False)),
('product_type', models.CharField(choices=[('PHYSICAL', 'Physical'), ('DIGITAL', 'Digital')], default='PHYSICAL', max_length=20)),
('is_visible', models.BooleanField(default=True, help_text='Uncheck this if it is a product that must only be visible in a bundle')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='ProductImage',
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)),
('image', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image')),
('product', modelcluster.fields.ParentalKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='images', to='store.Product')),
],
options={
'ordering': ['sort_order'],
'abstract': False,
},
),
migrations.CreateModel(
name='ProductInfo',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('subtitle', models.CharField(blank=True, max_length=255)),
('short_description', wagtail.core.fields.RichTextField(blank=True, null=True)),
('full_description', wagtail.core.fields.RichTextField(blank=True, null=True)),
('product', modelcluster.fields.ParentalKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='product_infos', to='store.Product')),
('region', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='region', to='website.Region')),
],
),
migrations.CreateModel(
name='ProductsOrder',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('item_info', django.contrib.postgres.fields.jsonb.JSONField()),
('order', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='products', to='store.OrderInfo')),
('product', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='orders', to='store.Product')),
],
),
migrations.CreateModel(
name='ProductStaticPage',
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')),
('keywords', models.CharField(blank=True, max_length=100, null=True)),
('subscribe_form_id', models.CharField(default='a34f0088-40f3-4bed-9e89-0c827d78102f', max_length=100)),
('allowed_on_robots', models.BooleanField(default=True)),
('show_driftbot', models.BooleanField(default=False, help_text='Check this to show Driftbot on this page')),
('banner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='website.Banner')),
('footer', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Footer')),
('header', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Header')),
('lightbox', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='website.AbandonPopUp')),
('region', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Region')),
('show_zendesk', models.BooleanField(default=False, help_text='Check this to show Zendesk on this page')),
('new_header', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.NewHeader')),
],
options={
'abstract': False,
},
bases=(wagtail.contrib.routable_page.models.RoutablePageMixin, 'wagtailcore.page'),
),
migrations.CreateModel(
name='ReceiveMail',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('notice_days', models.PositiveIntegerField()),
('countries', modelcluster.fields.ParentalManyToManyField(related_name='cuntries_mails', to='store.Country')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='Rental',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('dropoffs', models.ManyToManyField(blank=True, help_text='Places where the customer can drop off the item', related_name='deliverable_rentals', to='store.DropOff')),
('pickups', models.ManyToManyField(blank=True, help_text='Places where the customer can pick up the item', related_name='catchable_rentals', to='store.Pickup')),
('product', modelcluster.fields.ParentalKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='rental', to='store.Product')),
('region', models.ForeignKey(help_text='Region where this Rental Product is related', null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Region')),
('return_mails', models.ManyToManyField(help_text='Countries where the customer can return the item', related_name='returnable_rentals', to='store.Country')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='RentalPage',
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')),
('keywords', models.CharField(blank=True, max_length=100, null=True)),
('subscribe_form_id', models.CharField(default='a34f0088-40f3-4bed-9e89-0c827d78102f', max_length=100)),
('allowed_on_robots', models.BooleanField(default=True)),
('show_driftbot', models.BooleanField(default=False, help_text='Check this to show Driftbot on this page')),
('product_title', models.CharField(default='Rent a <em>Skyroam Solis</em> for your next trip', max_length=100)),
('promo_price', models.CharField(default='$11,90', max_length=50)),
('promo_period', models.CharField(default='Per Day', max_length=50)),
('promo_unlimited_internet', models.CharField(default='Unlimited Internet', max_length=50)),
('step_one_description', models.CharField(default='Order a Hotspot with Unlimited Global WiFi', max_length=200)),
('step_one_start_date_label', models.CharField(default='Start Date', max_length=20)),
('step_one_end_date_label', models.CharField(default='End Date', max_length=20)),
('step_two_description', models.CharField(default='Select Delivery and Return (USA Only)', max_length=200)),
('step_two_delivery_label', models.CharField(default='Delivery to Location', max_length=50)),
('step_two_delivery_delivery_label', models.CharField(default='DELIVERY', max_length=20)),
('step_two_delivery_pickup_label', models.CharField(default='PICKUP', max_length=20)),
('step_two_return_label', models.CharField(default='Return from Location', max_length=50)),
('step_two_return_return_label', models.CharField(default='MAIL', max_length=20)),
('step_two_return_dropoff_label', models.CharField(default='DROPOFF', max_length=20)),
('step_two_location_label', models.CharField(default='LOCATION', max_length=20)),
('apply_button_label', models.CharField(default='Apply Changes to Cart', max_length=50)),
('footer_review_title', models.CharField(default='Wonderful product!', max_length=50)),
('footer_review_stars_quantity', models.PositiveIntegerField(default=4)),
('footer_verified_order_text', models.CharField(default='Delivery to Location', max_length=50)),
('footer_review_content', models.CharField(default='I was in 5 countries in 3 weeks and Skyroam worked beautifully!! It saved me money and worked incredibly well!!', max_length=250)),
('footer_review_author_name', models.CharField(default='Julie', max_length=30)),
('is_available', models.BooleanField(default=True)),
('product_unavailable_text', models.CharField(default='Product unavailable on your region', max_length=150)),
],
options={
'abstract': False,
},
bases=('wagtailcore.page',),
),
migrations.CreateModel(
name='ShippingFlatRate',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('description', models.CharField(max_length=255, verbose_name='description')),
('delivery_days', models.PositiveIntegerField(verbose_name='guaranteed days to delivery')),
('product_type', models.CharField(choices=[('BP', 'Buy Product'), ('RP', 'Rental Product')], default='BP', max_length=2)),
('countries', models.ManyToManyField(related_name='shipping_rates', to='store.Country')),
('related_countries', models.ManyToManyField(blank=True, related_name='related_shipping_rates', to='store.Country')),
('is_postal_office_box', models.BooleanField(default=False)),
],
options={
'ordering': ['description'],
},
),
migrations.CreateModel(
name='ShippingPrice',
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)),
('value', models.DecimalField(decimal_places=2, max_digits=10)),
('rate', modelcluster.fields.ParentalKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='prices', to='store.ShippingFlatRate')),
('region', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Region')),
],
options={
'ordering': ['value'],
},
),
migrations.CreateModel(
name='ShipstationStore',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=40)),
('store_id', models.PositiveIntegerField(unique=True)),
],
),
migrations.CreateModel(
name='ThankYouPage',
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')),
('keywords', models.CharField(blank=True, max_length=100, null=True)),
('subscribe_form_id', models.CharField(default='a34f0088-40f3-4bed-9e89-0c827d78102f', max_length=100)),
('allowed_on_robots', models.BooleanField(default=True)),
('show_driftbot', models.BooleanField(default=False, help_text='Check this to show Driftbot on this page')),
('order_identification_pre_text', models.CharField(default='Order #', max_length=20)),
('order_confirmation_title', models.CharField(default='Thank You! Your Order Is Confirmed', max_length=100)),
('order_confirmation_subtitle', models.CharField(default="We've accepted your order, and we're getting it ready. Comeback to this page for future updates on your order status.", max_length=255)),
('email_instructions_title', models.CharField(default='Updates will be sent to', max_length=50)),
('customer_description_title', models.CharField(default='Customer description', max_length=40)),
('shipping_address_title', models.CharField(default='Shipping address', max_length=40)),
('shipping_method_title', models.CharField(default='Shipping method', max_length=40)),
('billing_address_title', models.CharField(default='Billing address', max_length=40)),
('payment_method_title', models.CharField(default='Payment method', max_length=40)),
('rental_pickup_dropoff_info_title', models.CharField(default='Rental Info', max_length=40)),
('rental_start_date_label', models.CharField(default='Start Date:', max_length=60)),
('rental_end_date_label', models.CharField(default='End Date:', max_length=60)),
('rental_quantity_label', models.CharField(default='Quantity:', max_length=60)),
('rental_receive_country_label', models.CharField(default='Receive Country:', max_length=60)),
('rental_receive_country_info_label', models.CharField(default='Receive Country Info:', max_length=60)),
('rental_return_country_label', models.CharField(default='Return Country:', max_length=60)),
('rental_return_country_info_label', models.CharField(default='Return Country Info:', max_length=60)),
('pickup_instructions_title', models.CharField(default='Important', max_length=20)),
('pickup_instructions_legend', models.CharField(default='How to pick up you Skyroam', max_length=40)),
('pickup_instructions_subtitle_one', models.CharField(default='You can pick up yur Skyroam Hotspot at the vending machine (please find location details below).', max_length=100)),
('pickup_instructions_subtitle_two', models.CharField(default='You will need you Order Numberor the QR code to receive your rental.', max_length=100)),
('cart_order_title', models.CharField(default='Your Order', max_length=20)),
('cart_order_shipping_title', models.CharField(default='Shipping', max_length=20)),
('cart_order_discount_title', models.CharField(default='Discount', max_length=20)),
('cart_order_total_title', models.CharField(default='Total', max_length=20)),
('warranty_info_title', models.CharField(default='ANY QUESTIONS?', max_length=40)),
('warranty_info_subtitle', models.CharField(default='Email us:', max_length=100)),
('warranty_info_email', models.CharField(default='support@skyroam.com', max_length=100)),
('warranty_info_extra', models.CharField(default='24/7 customer support', max_length=100)),
('warranty_info_url', models.URLField(blank=True, null=True)),
('international_cart_title', models.CharField(default='International Shipping Available', max_length=40)),
('international_cart_subtitle', models.CharField(default='Skyroam is a global service, and we deliver internationally.', max_length=100)),
('payment_cards_info_title', models.CharField(default='We accept major cards', max_length=40)),
('shipping_info_title', models.CharField(default='Need it today?', max_length=40)),
('shipping_info_subtitle', wagtail.core.fields.RichTextField(blank=True, default='Visit one of our <a href="http://www.skyroam.com/skyroam-store-locator">retail partners</a> around the world.', null=True)),
('banner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='website.Banner')),
('footer', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Footer')),
('header', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Header')),
('lightbox', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='website.AbandonPopUp')),
('region', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Region')),
('warranty_info_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image')),
('show_zendesk', models.BooleanField(default=False, help_text='Check this to show Zendesk on this page')),
('new_header', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.NewHeader')),
],
options={
'abstract': False,
},
bases=(wagtail.contrib.routable_page.models.RoutablePageMixin, 'wagtailcore.page'),
),
migrations.CreateModel(
name='RentalWithPickupRentalPage',
fields=[
('rentalpage_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='store.RentalPage')),
('pickup_rental', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='store.Rental')),
],
options={
'abstract': False,
},
bases=('store.rentalpage',),
),
migrations.AddField(
model_name='rentalpage',
name='background_image',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='rentalpage',
name='banner',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='website.Banner'),
),
migrations.AddField(
model_name='rentalpage',
name='footer',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Footer'),
),
migrations.AddField(
model_name='rentalpage',
name='footer_image_one',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='rentalpage',
name='footer_image_two',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='rentalpage',
name='header',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Header'),
),
migrations.AddField(
model_name='rentalpage',
name='lightbox',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='website.AbandonPopUp'),
),
migrations.AddField(
model_name='rentalpage',
name='product_image',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='rentalpage',
name='region',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Region'),
),
migrations.AddField(
model_name='rentalpage',
name='rental',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='store.Rental'),
),
migrations.AddField(
model_name='rentalpage',
name='second_product_image',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='receivemail',
name='rental',
field=modelcluster.fields.ParentalKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='receive_mails', to='store.Rental'),
),
migrations.AddField(
model_name='price',
name='product',
field=modelcluster.fields.ParentalKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='prices', to='store.Product'),
),
migrations.AddField(
model_name='price',
name='region',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Region'),
),
migrations.AddField(
model_name='pickup',
name='fee',
field=models.ForeignKey(help_text='Related tax', null=True, on_delete=django.db.models.deletion.SET_NULL, to='store.Product'),
),
migrations.AddField(
model_name='pickup',
name='returnable_countries',
field=models.ManyToManyField(help_text='Places where customers who chooses this Pickup option can return the item', related_name='returnable_countries_pickups', to='store.Country'),
),
migrations.AddField(
model_name='freeitem',
name='product',
field=modelcluster.fields.ParentalKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='product_free_items', to='store.Product'),
),
migrations.AddField(
model_name='freeitem',
name='region',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Region'),
),
migrations.AddField(
model_name='dropoff',
name='fee',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='store.Product'),
),
migrations.AddField(
model_name='couponcodesbatch',
name='eligible_product',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='associated_coupon_codes_batch', to='store.Product'),
),
migrations.AddField(
model_name='cartpage',
name='product',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='store.Product'),
),
migrations.AddField(
model_name='cartpage',
name='region',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Region'),
),
migrations.AddField(
model_name='cartpage',
name='warranty_info_image',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='bundleproductsrelationship',
name='product',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='store.Product'),
),
migrations.AddField(
model_name='accessory',
name='product',
field=modelcluster.fields.ParentalKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='product_accessories', to='store.Product'),
),
migrations.AddField(
model_name='accessory',
name='related_product',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='related_product_accessories', to='store.Product'),
),
migrations.CreateModel(
name='AccountingReport',
fields=[
],
options={
'proxy': True,
'indexes': [],
},
bases=('store.orderinfo',),
),
migrations.AddField(
model_name='orderinfo',
name='created',
field=models.DateTimeField(blank=True, null=True),
),
migrations.CreateModel(
name='EmailingListShipmentRule',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=100)),
('team_members_emails', django.contrib.postgres.fields.ArrayField(base_field=models.EmailField(max_length=254, unique=True), help_text='Emails separated by <b>comma</b>', size=None)),
('orders_bought_on_region', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='origin_emailing_lists', to='website.Region')),
('ships_to_regions', models.ManyToManyField(related_name='destination_emailing_lists', to='website.Region')),
('orders_type', models.CharField(choices=[('BP', 'Buy Orders'), ('RP', 'Rental Orders')], default='BP', max_length=2)),
],
),
migrations.DeleteModel(
name='AccountingReport',
),
migrations.CreateModel(
name='Accounting',
fields=[
],
options={
'verbose_name_plural': 'Accounting',
'proxy': True,
'indexes': [],
},
bases=('store.orderinfo',),
),
migrations.AlterModelOptions(
name='orderinfo',
options={'ordering': ['-invoice_number'], 'verbose_name': 'Fulfillment', 'verbose_name_plural': 'Fulfillment'},
),
migrations.AddField(
model_name='cartpage',
name='show_zendesk',
field=models.BooleanField(default=False, help_text='Check this to show Zendesk on this page'),
),
migrations.AddField(
model_name='rentalpage',
name='show_zendesk',
field=models.BooleanField(default=False, help_text='Check this to show Zendesk on this page'),
),
migrations.AddField(
model_name='rentalpage',
name='footer_bottom_1_label',
field=models.CharField(default='Privacy Policy', max_length=50),
),
migrations.AddField(
model_name='rentalpage',
name='footer_bottom_1_link',
field=models.CharField(default='https://www.skyroam.com/terms-conditions#privacy-policy', max_length=200),
),
migrations.AddField(
model_name='rentalpage',
name='footer_bottom_2_label',
field=models.CharField(default='Terms of Service', max_length=50),
),
migrations.AddField(
model_name='rentalpage',
name='footer_bottom_2_link',
field=models.CharField(default='https://www.skyroam.com/terms-conditions', max_length=200),
),
migrations.AddField(
model_name='rentalpage',
name='footer_bottom_3_label',
field=models.CharField(default='Imprint', max_length=50),
),
migrations.AddField(
model_name='rentalpage',
name='footer_bottom_3_link',
field=models.CharField(default='https://www.skyroam.com/imprint', max_length=200),
),
migrations.AddField(
model_name='rentalpage',
name='modify_your_order_text',
field=models.CharField(default='Modify your order', max_length=150),
),
migrations.AddField(
model_name='rentalpage',
name='start_new_order_text',
field=models.CharField(default='Start a new order', max_length=150),
),
migrations.AddField(
model_name='rentalpage',
name='step_two_delivery_select_label',
field=models.CharField(default='COUNTRY', max_length=20),
),
migrations.AddField(
model_name='rentalpage',
name='step_two_return_select_label',
field=models.CharField(default='COUNTRY', max_length=20),
),
migrations.CreateModel(
name='GiftSetPage',
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')),
('keywords', models.CharField(blank=True, max_length=100, null=True)),
('subscribe_form_id', models.CharField(default='a34f0088-40f3-4bed-9e89-0c827d78102f', max_length=100)),
('allowed_on_robots', models.BooleanField(default=True)),
('show_driftbot', models.BooleanField(default=False, help_text='Check this to show Driftbot on this page')),
('show_zendesk', models.BooleanField(default=False, help_text='Check this to show Zendesk on this page')),
('hero_title', models.CharField(default='Skyroam-A GIFT that Connects People', max_length=50)),
('product_card_gift_description', models.CharField(default='The ultimate travel connectivity gift set, the Skyroam Solis global WiFi hotspot with a built-in power bank, with a travel case and 10 days WiFi for use anytime.', max_length=255)),
('product_card_gift_receiver_name_field_text', models.CharField(default="Receiver's Name", max_length=50)),
('product_card_gift_receiver_email_field_text', models.CharField(default="Receiver's Email", max_length=50)),
('product_card_gift_your_message_field_text', models.CharField(default='Your Message', max_length=50)),
('product_card_gift_your_message_characters_field_text', models.CharField(default='characters', max_length=50)),
('product_card_gift_donor_name_field_text', models.CharField(default='From', max_length=50)),
('product_card_gift_back_button_text', models.CharField(default='Back to Gift Page', max_length=50)),
('product_card_gift_checkout_button_text', models.CharField(default='Checkout', max_length=50)),
('email_card_greeting_text', models.CharField(default='Hey', max_length=25)),
('email_card_email_title', models.CharField(default='Enjoy the gift of connectivity on your Birthday. Stay connected!', max_length=255)),
('email_card_email_content', models.CharField(default='We wish you best of luck for your future! This gift is to help you stay connected for the upcoming international trip.', max_length=255)),
('email_card_email_compliments', models.CharField(default='Best wishes', max_length=40)),
('banner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='website.Banner')),
('footer', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Footer')),
('header', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Header')),
('lightbox', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='website.AbandonPopUp')),
('product', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='gift_page', to='store.Product')),
('region', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Region')),
('email_coupon_code_prefix', models.CharField(default='Your Gift Card Code is Here:', max_length=100)),
('email_gift_card_content_text', models.CharField(default='This Gift Card Code is valid for one 7-day Skyroam hotspot rental including unlimited global WiFi. May only be used during one trip for 7 consecutive days', max_length=300)),
('email_gift_card_subtitle_text', models.CharField(default='Shipping and Handling of rental hotspot is NOT included. Shipping fees are based on location of delivery and return and will be chagerd to you at check-out', max_length=300)),
('product_card_gift_back_button_link', models.CharField(default='#', max_length=300)),
('email_redeem_text', models.CharField(default='Redeem Anytime at:', max_length=100)),
('hero_background', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image')),
('hero_background_mobile', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image')),
('email_redeem_skyroam_link', models.CharField(default='www.skyroam.com', max_length=300)),
('email_redeem_skyroam_text', models.CharField(default='Skyroam.com', max_length=100)),
('email_base_subject', models.CharField(default='Congrats! Your {product_name} E-Gift is Here. Enjoy Global WiFi for your next trip.', help_text='Place {product_name} where you want to display the product name on the email subject.', max_length=150)),
('bundle', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='bundle_product', to='store.Bundle')),
('new_header', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.NewHeader')),
],
options={
'abstract': False,
},
bases=('wagtailcore.page',),
),
migrations.AddField(
model_name='orderinfo',
name='gift_discount_code',
field=models.CharField(blank=True, max_length=50, null=True),
),
migrations.AddField(
model_name='product',
name='is_free_shipping',
field=models.BooleanField(default=False, help_text='Check this option if an order that includes this product must have a free shipping rate'),
),
migrations.AddField(
model_name='freeitem',
name='sku',
field=models.CharField(blank=True, max_length=255, null=True),
),
migrations.CreateModel(
name='NewRentalPage',
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')),
('keywords', models.CharField(blank=True, max_length=100, null=True)),
('subscribe_form_id', models.CharField(default='a34f0088-40f3-4bed-9e89-0c827d78102f', max_length=100)),
('allowed_on_robots', models.BooleanField(default=True)),
('show_driftbot', models.BooleanField(default=False, help_text='Check this to show Driftbot on this page')),
('show_zendesk', models.BooleanField(default=False, help_text='Check this to show Zendesk on this page')),
('banner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='website.Banner')),
('footer', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Footer')),
('header', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Header')),
('lightbox', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='website.AbandonPopUp')),
('region', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Region')),
('rental', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='store.Rental')),
('allow_dropoff', models.BooleanField(default=True)),
('allow_pickup', models.BooleanField(default=True)),
('allow_receive', models.BooleanField(default=True)),
('allow_return', models.BooleanField(default=True)),
('apply_button_label', models.CharField(default='Apply Changes to Cart', max_length=500)),
('first_benefit', models.CharField(blank=True, default='120+ countries reach', max_length=200, null=True)),
('minimum_days_deliver', models.IntegerField(default=3)),
('product_title', models.CharField(default='Rent a <em>Skyroam Solis</em> for your next trip', max_length=100)),
('promo_price', models.CharField(blank=True, default='$11,90', max_length=50, null=True)),
('second_benefit', models.CharField(blank=True, default='Unlimited Internet', max_length=200, null=True)),
('step_one_description', models.CharField(default='Order a Hotspot with Unlimited Global WiFi', max_length=200)),
('step_one_end_date_label', models.CharField(default='End Date', max_length=200)),
('step_one_start_date_label', models.CharField(default='Start Date', max_length=200)),
('step_two_delivery_label', models.CharField(default='Delivery to Location', max_length=200)),
('step_three_return_label', models.CharField(default='Return from Location', max_length=200)),
('third_benefit', models.CharField(blank=True, default='4G LTE', max_length=200, null=True)),
('step_one_product_header', models.CharField(default='Rent a Skyroam Solis for your next trip', max_length=200)),
('optional_step_destination_label', models.CharField(default='Trip Destination Country', max_length=200)),
('optional_step_destination_select_label', models.CharField(default='Select your destination Country', max_length=200)),
('optional_step_enable_destination_country', models.BooleanField(default=False)),
('step_three_dropoff_country_label', models.CharField(default='Select your dropoff country', max_length=200)),
('step_three_dropoff_country_location_label', models.CharField(default='Select your dropoff country location', max_length=200)),
('step_three_dropoff_description', models.CharField(default='Option availability TBA', max_length=200)),
('step_three_dropoff_label', models.CharField(default='Dropoff', max_length=200)),
('step_three_mail_country_label', models.CharField(default='Select which country you will return from', max_length=200)),
('step_three_mail_description', models.CharField(default='There is no extra fee for returning', max_length=200)),
('step_three_mail_label', models.CharField(default='Mail', max_length=200)),
('step_two_pickup_country_label', models.CharField(default='Select your country', max_length=200)),
('step_two_pickup_description', models.CharField(default='You will be asked for your address later on', max_length=200)),
('step_two_pickup_label', models.CharField(default='Pickup', max_length=200)),
('step_two_pickup_location_label', models.CharField(default='Select pickup location', max_length=200)),
('step_two_receive_country_label', models.CharField(default='Select your receive', max_length=200)),
('step_two_receive_description', models.CharField(default='You will be asked for your address later on', max_length=200)),
('step_two_receive_label', models.CharField(default='Receive', max_length=200)),
('product_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image')),
('place_holder_dropoff_location', models.CharField(default='Country', max_length=200)),
('place_holder_dropoff_options', models.CharField(default='Country', max_length=200)),
('place_holder_pickup_location', models.CharField(default='Country', max_length=200)),
('place_holder_pickup_options', models.CharField(default='Country', max_length=200)),
('place_holder_receive_options', models.CharField(default='Country', max_length=200)),
('place_holder_return_options', models.CharField(default='Country', max_length=200)),
('pickup_rental', models.ForeignKey(blank=True, help_text='This product will be used only if the user selects pickup', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='pickup_rental', to='store.Rental')),
('step_two_delivery_label_error', models.CharField(default='Minimum of 3 days for shipping', max_length=300)),
('new_header', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.NewHeader')),
('minimum_rental_date_range', models.IntegerField(default=1)),
('step_two_delivery_label_error_on_range', models.CharField(default='Minimum of 3 days of rent allowed', max_length=300)),
('allow_same_date', models.BooleanField(default=False)),
],
options={
'abstract': False,
},
bases=('wagtailcore.page',),
),
migrations.AddField(
model_name='couponcodesbatch',
name='eligible_bundle',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='associated_coupon_bundle_codes_batch', to='store.Bundle'),
),
migrations.CreateModel(
name='AccountingFulfillmentReportMerge',
fields=[
],
options={
'verbose_name_plural': 'Accounting and Fulfillment Merged Report',
'proxy': True,
'indexes': [],
},
bases=('store.orderinfo',),
),
migrations.AddField(
model_name='product',
name='upc',
field=models.CharField(blank=True, max_length=255),
),
migrations.CreateModel(
name='CustomInvoiceCartPage',
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')),
('keywords', models.CharField(blank=True, max_length=100, null=True)),
('subscribe_form_id', models.CharField(default='a34f0088-40f3-4bed-9e89-0c827d78102f', max_length=100)),
('allowed_on_robots', models.BooleanField(default=True)),
('show_driftbot', models.BooleanField(default=False, help_text='Check this to show Driftbot on this page')),
('show_zendesk', models.BooleanField(default=False, help_text='Check this to show Zendesk on this page')),
('box_content_title', models.CharField(blank=True, max_length=40, null=True)),
('box_content_items', models.TextField(blank=True, help_text='The items must be written one per line.', null=True)),
('cart_loading_message', models.CharField(default='Loading Cart', max_length=40)),
('cart_title_text', models.CharField(default='CART', max_length=40)),
('cart_button_text', models.CharField(default='Proceed to Checkout', max_length=40)),
('cart_shipping_price_text', models.CharField(default='Shipping', max_length=40)),
('cart_subtotal_price_text', models.CharField(default='SUBTOTAL', max_length=40)),
('cart_discount_price_text', models.CharField(default='DISCOUNT', max_length=40)),
('cart_total_price_text', models.CharField(default='TOTAL', max_length=40)),
('cart_optin_message', models.CharField(default='Subscribe to our newsletter', max_length=40)),
('cart_step_1_label', models.CharField(default='Your Cart', max_length=80)),
('cart_step_2_label', models.CharField(default='Billing Address', max_length=80)),
('cart_step_2_2_label', models.CharField(default='Shipping Address', max_length=80)),
('cart_step_3_label', models.CharField(default='Shipping Method', max_length=80)),
('cart_step_4_label', models.CharField(default='Paymend Method', max_length=80)),
('cart_step_5_label', models.CharField(default='Confirm Order', max_length=80)),
('cart_lightbox_secure_checkout', models.CharField(default='Secure Checkout', max_length=80)),
('cart_lightbox_subtotal', models.CharField(default='SUBTOTAL', max_length=40)),
('cart_lightbox_items_quantity', models.CharField(default='ITEMS ON CART:', max_length=40)),
('cart_lightbox_billing_address_previous_step', models.CharField(default='BACK TO CART', max_length=40)),
('cart_lightbox_billing_address_next_step', models.CharField(default='NEXT STEP', max_length=40)),
('cart_lightbox_shipping_address_previous_step', models.CharField(default='PREVIOUS STEP', max_length=40)),
('cart_lightbox_shipping_address_next_step', models.CharField(default='NEXT STEP', max_length=40)),
('cart_lightbox_shipping_method_previous_step', models.CharField(default='PREVIOUS STEP', max_length=40)),
('cart_lightbox_shipping_method_next_step', models.CharField(default='NEXT STEP', max_length=40)),
('cart_lightbox_payment_method_previous_step', models.CharField(default='PREVIOUS STEP', max_length=40)),
('cart_lightbox_payment_method_next_step', models.CharField(default='NEXT STEP', max_length=40)),
('cart_lightbox_confirm_order_previous_step', models.CharField(default='PREVIOUS STEP', max_length=40)),
('cart_lightbox_confirm_order_next_step', models.CharField(default='PLACE_ORDER', max_length=40)),
('cart_lightbox_confirm_order_next_step_subtitle', wagtail.core.fields.RichTextField(blank=True, max_length=400, null=True)),
('cart_lightbox_processing_order_title', models.CharField(default='Your order is being processed', max_length=100)),
('cart_lightbox_processing_order_subtitle', models.CharField(default='To ensure your order is not interrupted, please avoid clicking the back of refresh button', max_length=255)),
('cart_hide_discount_code_input', models.BooleanField(default=True)),
('cart_discount_tax_info', wagtail.core.fields.RichTextField(default='Discount, tax and shipping applied at checkout.', max_length=100)),
('cart_discount_code_text', models.CharField(default='Discount Code', max_length=30)),
('cart_discount_code_button_text', models.CharField(default='APPLY DISCOUNT', max_length=20)),
('cart_discount_code_error_message_text', models.CharField(default='Invalid discount code', max_length=40)),
('cart_discount_code_success_message_text', models.CharField(default='Discount Code Applied', max_length=40)),
('daypasses_badge', models.CharField(blank=True, max_length=40, null=True)),
('daypasses_badge_offer_info', models.CharField(blank=True, max_length=40, null=True)),
('daypasses_info_tooltip', models.CharField(blank=True, max_length=100, null=True)),
('daypasses_info_tooltip_content', models.TextField(blank=True, null=True)),
('warranty_info_title', models.CharField(default='ANY QUESTIONS?', max_length=40)),
('warranty_info_subtitle', models.CharField(default='Email us:', max_length=100)),
('warranty_info_email', models.CharField(default='support@skyroam.com', max_length=100)),
('warranty_info_extra', models.CharField(default='24/7 customer support', max_length=100)),
('warranty_info_url', models.URLField(blank=True, null=True)),
('international_cart_title', models.CharField(default='International Shipping Available', max_length=40)),
('international_cart_subtitle', models.CharField(default='Skyroam is a global service, and we deliver internationally.', max_length=100)),
('payment_cards_info_title', models.CharField(default='We accept major cards', max_length=40)),
('shipping_info_title', models.CharField(default='Need it today?', max_length=40)),
('credit_cards_info', models.CharField(default='All major credit cards accepted', max_length=100)),
('shipping_info_subtitle', wagtail.core.fields.RichTextField(blank=True, default='Visit one of our <a href="http://www.skyroam.com/skyroam-store-locator">retail partners</a> around the world.', null=True)),
('rights_reserverd_text', models.CharField(default='© 2018. All rights reserved.', max_length=100)),
('value', models.DecimalField(decimal_places=2, max_digits=10)),
('banner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='website.Banner')),
('footer', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Footer')),
('header', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Header')),
('lightbox', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='website.AbandonPopUp')),
('region', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.Region')),
('warranty_info_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image')),
],
options={
'abstract': False,
},
bases=(wagtail.contrib.routable_page.models.RoutablePageMixin, 'wagtailcore.page', store.models.AbstractCartPage, models.Model),
),
migrations.CreateModel(
name='CustomProduct',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=200)),
('custom_cart', modelcluster.fields.ParentalKey(on_delete=django.db.models.deletion.CASCADE, related_name='custom_cart', to='store.CustomInvoiceCartPage')),
('value', models.DecimalField(decimal_places=2, default='1.00', max_digits=10)),
('sku', models.CharField(max_length=255)),
('is_free_shipping', models.BooleanField(default=False, help_text='Check this option if an order that includes this product must have a free shipping rate')),
],
),
migrations.RemoveField(
model_name='custominvoicecartpage',
name='value',
),
migrations.AddField(
model_name='custominvoicecartpage',
name='invoice_name',
field=models.CharField(default='Test', max_length=200),
preserve_default=False,
),
migrations.AddField(
model_name='cartpage',
name='pre_loaded_item',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='pre_loaded_product', to='store.Product'),
),
migrations.CreateModel(
name='CustomProductsOrder',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('item_info', django.contrib.postgres.fields.jsonb.JSONField()),
('order', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='custom_products', to='store.OrderInfo')),
('product', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='custom_orders', to='store.CustomProduct')),
],
),
migrations.AddField(
model_name='cartpage',
name='new_header',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.NewHeader'),
),
migrations.AddField(
model_name='custominvoicecartpage',
name='new_header',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.NewHeader'),
),
migrations.AddField(
model_name='rentalpage',
name='new_header',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='website.NewHeader'),
),
migrations.AddField(
model_name='rentalpage',
name='allow_pickup',
field=models.BooleanField(default=True),
),
migrations.CreateModel(
name='StoreVendingMachineCode',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
('order_number', models.CharField(max_length=13, unique=True)),
('qr_code', models.ImageField(upload_to=store.models.upload_to)),
('order', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='codes', to='store.OrderInfo')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='Plan',
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)),
('max_quantity', models.PositiveIntegerField()),
('product', modelcluster.fields.ParentalKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='product_plans', to='store.Product')),
('related_plan', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='related_product_plans', to='store.Product')),
],
options={
'ordering': ['sort_order'],
'abstract': False,
},
),
migrations.AddField(
model_name='cartpage',
name='plans_cart_button_text',
field=models.CharField(default='Add to Cart', max_length=40),
),
migrations.AddField(
model_name='cartpage',
name='plans_quantity_text',
field=models.CharField(default='Qty', max_length=20),
),
migrations.AddField(
model_name='cartpage',
name='plans_section_title',
field=models.CharField(default='Wifi Plans', max_length=40),
),
migrations.CreateModel(
name='PartnerLocation',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
('sku', models.CharField(max_length=50)),
('china_code', models.CharField(blank=True, max_length=50, null=True)),
('verbose_name', models.CharField(max_length=200)),
('partner', models.CharField(max_length=50)),
],
options={
'abstract': False,
},
),
migrations.AddField(
model_name='cartpage',
name='template_version',
field=models.CharField(choices=[('store/cart.html', 'V1'), ('store/new_cart.html', 'V2')], default='store/cart.html', max_length=255),
),
migrations.AlterField(
model_name='cartpage',
name='shipping_info_subtitle',
field=wagtail.core.fields.RichTextField(blank=True, default="Visit one of our <a href='http://www.skyroam.com/skyroam-store-locator'>retail partners</a> around the world.", null=True),
),
migrations.AlterField(
model_name='custominvoicecartpage',
name='shipping_info_subtitle',
field=wagtail.core.fields.RichTextField(blank=True, default="Visit one of our <a href='http://www.skyroam.com/skyroam-store-locator'>retail partners</a> around the world.", null=True),
),
migrations.CreateModel(
name='ProductFeature',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('text', models.CharField(blank=True, max_length=255)),
('image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image')),
('product', modelcluster.fields.ParentalKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='product_features', to='store.Product')),
],
),
migrations.AddField(
model_name='orderinfo',
name='mewfi_id',
field=models.CharField(blank=True, max_length=50, null=True),
),
migrations.CreateModel(
name='AccountingMilesSmilesReport',
fields=[
],
options={
'verbose_name_plural': 'Accounting MilesSmiles',
'proxy': True,
'indexes': [],
},
bases=('store.orderinfo',),
),
migrations.CreateModel(
name='ZoomVendingOrderNumber',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
('order_number', models.CharField(max_length=13)),
],
options={
'abstract': False,
},
),
migrations.AddField(
model_name='newrentalpage',
name='hero_background_image',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='newrentalpage',
name='place_holder_end_date',
field=models.CharField(default='Last Day', max_length=200),
),
migrations.AddField(
model_name='newrentalpage',
name='place_holder_select_destination',
field=models.CharField(default='Destination', max_length=200),
),
migrations.AddField(
model_name='newrentalpage',
name='place_holder_start_date',
field=models.CharField(default='First Day', max_length=200),
),
migrations.AddField(
model_name='cartpage',
name='dropoff_info_text',
field=models.CharField(default='Dropoff Info', max_length=150),
),
migrations.AddField(
model_name='cartpage',
name='dropoff_text',
field=models.CharField(default='Dropoff', max_length=150),
),
migrations.AddField(
model_name='cartpage',
name='end_rental_date_text',
field=models.CharField(default='End Rental Date', max_length=150),
),
migrations.AddField(
model_name='cartpage',
name='pickup_info_text',
field=models.CharField(default='Pickup Info', max_length=150),
),
migrations.AddField(
model_name='cartpage',
name='pickup_text',
field=models.CharField(default='Pickup', max_length=150),
),
migrations.AddField(
model_name='cartpage',
name='rental_days_text',
field=models.CharField(default='Rental Days', max_length=150),
),
migrations.AddField(
model_name='cartpage',
name='start_rental_date_text',
field=models.CharField(default='Start Rental Date', max_length=150),
),
migrations.RunPython(
code=store.migrations.0060_auto_20190828_0652.update_store_locator_in_cart_page,
),
migrations.RunPython(
code=store.migrations.0060_auto_20190828_0652.update_store_locator_in_thank_you_page,
),
migrations.RunPython(
code=store.migrations.0060_auto_20190828_0652.update_store_locator_in_custom_invoice_cart_page,
),
migrations.AlterField(
model_name='cartpage',
name='shipping_info_subtitle',
field=wagtail.core.fields.RichTextField(blank=True, default="Visit one of our <a href='http://www.skyroam.com/where-to-buy'>retail partners</a> around the world.", null=True),
),
migrations.AlterField(
model_name='custominvoicecartpage',
name='shipping_info_subtitle',
field=wagtail.core.fields.RichTextField(blank=True, default="Visit one of our <a href='http://www.skyroam.com/where-to-buy'>retail partners</a> around the world.", null=True),
),
migrations.AlterField(
model_name='thankyoupage',
name='shipping_info_subtitle',
field=wagtail.core.fields.RichTextField(blank=True, default='Visit one of our <a href="http://www.skyroam.com/where-to-buy">retail partners</a> around the world.', null=True),
),
migrations.AddField(
model_name='newrentalpage',
name='modify_your_order_text',
field=models.CharField(default='Modify your order', max_length=150),
),
migrations.AddField(
model_name='newrentalpage',
name='start_new_order_text',
field=models.CharField(default='Start a new order', max_length=150),
),
migrations.AddField(
model_name='cartpage',
name='paypal_credit_banner',
field=models.BooleanField(default=False),
),
migrations.AddField(
model_name='cartpage',
name='paypal_credit_text_info',
field=models.CharField(default='Buy now, pay over time with PayPal Credit.', max_length=150),
),
migrations.CreateModel(
name='NotificationEmail',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
('email', models.EmailField(max_length=254)),
('notification_type', models.CharField(choices=[('NO', 'No Notification'), ('ME', 'Mewfi Error'), ('WO', 'Longtime Without Order'), ('PO', 'New Pickup order')], default='NO', max_length=2)),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='CartPageRecommendedProduct',
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)),
],
options={
'ordering': ['sort_order'],
'abstract': False,
},
),
migrations.AddField(
model_name='cartpage',
name='recommended_products_title',
field=models.CharField(blank=True, max_length=150, null=True),
),
migrations.AddField(
model_name='cartpagerecommendedproduct',
name='page',
field=modelcluster.fields.ParentalKey(on_delete=django.db.models.deletion.CASCADE, related_name='recommended_products', to='store.CartPage'),
),
migrations.AddField(
model_name='cartpagerecommendedproduct',
name='product',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='recommended_product', to='store.Product'),
),
migrations.CreateModel(
name='MileagePartner',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
('name', models.CharField(max_length=100)),
('form_label', models.CharField(max_length=100)),
],
options={
'abstract': False,
},
),
migrations.DeleteModel(
name='AccountingMilesSmilesReport',
),
migrations.CreateModel(
name='PartnerMileageReport',
fields=[
],
options={
'verbose_name_plural': 'Partner Mileage Capture Report',
'proxy': True,
'indexes': [],
},
bases=('store.orderinfo',),
),
migrations.AddField(
model_name='cartpage',
name='mileage_partner',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='store.MileagePartner'),
),
migrations.AddField(
model_name='newrentalpage',
name='minimum_days_pickup',
field=models.IntegerField(default=3),
),
migrations.AddField(
model_name='newrentalpage',
name='step_two_pickup_label_error',
field=models.CharField(default='Minimum of 3 days for shipping', max_length=300),
),
migrations.AlterField(
model_name='orderinfo',
name='shipping_method',
field=models.CharField(max_length=255),
),
migrations.AlterModelOptions(
name='bundleproductsrelationship',
options={'ordering': ['sort_order']},
),
migrations.AddField(
model_name='bundleproductsrelationship',
name='sort_order',
field=models.IntegerField(blank=True, editable=False, null=True),
),
migrations.AddField(
model_name='product',
name='custom_shipping_rate',
field=models.DecimalField(blank=True, decimal_places=2, default=None, max_digits=10, null=True),
),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment