Commit c4053bad by Ahsan Ulhaq Committed by Ahsan Ul Haq

Migrations to remove Django history tables

WE No longer using the django history tables so the purpose of
this PR is to add migrations that will eventually delete history tables
LEARNER-3349
parent f02a78f2
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2018-01-19 09:03
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('courses', '0006_auto_20171204_1036'),
]
operations = [
migrations.RemoveField(
model_name='historicalcourse',
name='history_user',
),
migrations.RemoveField(
model_name='historicalcourse',
name='site',
),
migrations.DeleteModel(
name='HistoricalCourse',
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2018-01-19 09:03
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('catalogue', '0028_donations_from_checkout_tests_product_type'),
]
operations = [
migrations.RemoveField(
model_name='historicalproduct',
name='course',
),
migrations.RemoveField(
model_name='historicalproduct',
name='history_user',
),
migrations.RemoveField(
model_name='historicalproduct',
name='parent',
),
migrations.RemoveField(
model_name='historicalproduct',
name='product_class',
),
migrations.RemoveField(
model_name='historicalproductattributevalue',
name='attribute',
),
migrations.RemoveField(
model_name='historicalproductattributevalue',
name='entity_content_type',
),
migrations.RemoveField(
model_name='historicalproductattributevalue',
name='history_user',
),
migrations.RemoveField(
model_name='historicalproductattributevalue',
name='product',
),
migrations.RemoveField(
model_name='historicalproductattributevalue',
name='value_option',
),
migrations.DeleteModel(
name='HistoricalProduct',
),
migrations.DeleteModel(
name='HistoricalProductAttributeValue',
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2018-01-19 09:03
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('order', '0015_create_disable_repeat_order_check_switch'),
]
operations = [
migrations.RemoveField(
model_name='historicalline',
name='history_user',
),
migrations.RemoveField(
model_name='historicalline',
name='order',
),
migrations.RemoveField(
model_name='historicalline',
name='partner',
),
migrations.RemoveField(
model_name='historicalline',
name='product',
),
migrations.RemoveField(
model_name='historicalline',
name='stockrecord',
),
migrations.RemoveField(
model_name='historicalorder',
name='basket',
),
migrations.RemoveField(
model_name='historicalorder',
name='billing_address',
),
migrations.RemoveField(
model_name='historicalorder',
name='history_user',
),
migrations.RemoveField(
model_name='historicalorder',
name='shipping_address',
),
migrations.RemoveField(
model_name='historicalorder',
name='site',
),
migrations.RemoveField(
model_name='historicalorder',
name='user',
),
migrations.DeleteModel(
name='HistoricalLine',
),
migrations.DeleteModel(
name='HistoricalOrder',
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2018-01-19 09:03
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('partner', '0011_auto_20170525_2138'),
]
operations = [
migrations.RemoveField(
model_name='historicalstockrecord',
name='history_user',
),
migrations.RemoveField(
model_name='historicalstockrecord',
name='partner',
),
migrations.RemoveField(
model_name='historicalstockrecord',
name='product',
),
migrations.DeleteModel(
name='HistoricalStockRecord',
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2018-01-19 09:03
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('refund', '0002_auto_20151214_1017'),
]
operations = [
migrations.RemoveField(
model_name='historicalrefund',
name='history_user',
),
migrations.RemoveField(
model_name='historicalrefund',
name='order',
),
migrations.RemoveField(
model_name='historicalrefund',
name='user',
),
migrations.RemoveField(
model_name='historicalrefundline',
name='history_user',
),
migrations.RemoveField(
model_name='historicalrefundline',
name='order_line',
),
migrations.RemoveField(
model_name='historicalrefundline',
name='refund',
),
migrations.DeleteModel(
name='HistoricalRefund',
),
migrations.DeleteModel(
name='HistoricalRefundLine',
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2018-01-19 09:03
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('invoice', '0004_auto_20170215_2234'),
]
operations = [
migrations.RemoveField(
model_name='historicalinvoice',
name='basket',
),
migrations.RemoveField(
model_name='historicalinvoice',
name='business_client',
),
migrations.RemoveField(
model_name='historicalinvoice',
name='history_user',
),
migrations.RemoveField(
model_name='historicalinvoice',
name='order',
),
migrations.DeleteModel(
name='HistoricalInvoice',
),
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment