You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2925,28 +2935,48 @@ class Migration(migrations.Migration):
2925
2935
to='registration.user',
2926
2936
),
2927
2937
),
2928
-
migrations.AlterField(
2929
-
model_name='operation',
2930
-
name='bc_obps_regulated_operation',
2931
-
field=models.OneToOneField(
2932
-
blank=True,
2933
-
db_comment='The BC OBPS (Output-Based Pricing System) regulated operation record (BORO ID) assigned when this operation is approved. Foreign key to erc.bc_obps_regulated_operation',
sql="COMMENT ON COLUMN erc.operation.bc_obps_regulated_operation_id IS 'The BC OBPS (Output-Based Pricing System) regulated operation record (BORO ID) assigned when this operation is approved. Foreign key to erc.bc_obps_regulated_operation'",
2942
+
reverse_sql="COMMENT ON COLUMN erc.operation.bc_obps_regulated_operation_id IS NULL",
2943
+
),
2944
+
],
2945
+
state_operations=[
2946
+
migrations.AlterField(
2947
+
model_name='operation',
2948
+
name='bc_obps_regulated_operation',
2949
+
field=models.OneToOneField(
2950
+
blank=True,
2951
+
db_comment='The BC OBPS (Output-Based Pricing System) regulated operation record (BORO ID) assigned when this operation is approved. Foreign key to erc.bc_obps_regulated_operation',
2952
+
null=True,
2953
+
on_delete=django.db.models.deletion.PROTECT,
2954
+
to='registration.bcobpsregulatedoperation',
2955
+
),
2956
+
),
2957
+
],
2958
+
),
2959
+
migrations.SeparateDatabaseAndState(
2960
+
database_operations=[
2961
+
migrations.RunSQL(
2962
+
sql="COMMENT ON COLUMN erc.operation.bcghg_id_id IS 'An operation''s BCGHG (BC Greenhouse Gas) identifier. Foreign key to erc.bc_greenhouse_gas_id'",
2963
+
reverse_sql="COMMENT ON COLUMN erc.operation.bcghg_id_id IS NULL",
0 commit comments