changes
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Phase 6 (Sub 11) — drop legacy MRP columns from certificate tables.
|
||||
|
||||
import logging
|
||||
_logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def migrate(cr, version):
|
||||
if not version:
|
||||
return
|
||||
cr.execute("ALTER TABLE fp_certificate DROP COLUMN IF EXISTS production_id")
|
||||
cr.execute("ALTER TABLE fp_thickness_reading DROP COLUMN IF EXISTS production_id")
|
||||
_logger.info("Sub 11: dropped production_id from fp_certificate + fp_thickness_reading")
|
||||
Reference in New Issue
Block a user