IDEMPIERE-3424 table m_movement / constraint cbpartnerlocation_mmovement incorrect
This commit is contained in:
parent
045595b2cb
commit
704667fff7
|
@ -0,0 +1,17 @@
|
|||
SET SQLBLANKLINES ON
|
||||
SET DEFINE OFF
|
||||
|
||||
-- IDEMPIERE-3424 table m_movement / constraint cbpartnerlocation_mmovement incorrect
|
||||
-- Jul 20, 2017 20:13:32 PM CEST
|
||||
ALTER TABLE m_movement DROP CONSTRAINT cbpartnerlocation_mmovement
|
||||
;
|
||||
|
||||
ALTER TABLE m_movement ADD CONSTRAINT cbpartnerlocation_mmovement FOREIGN KEY (c_bpartner_location_id)
|
||||
REFERENCES c_bpartner_location (c_bpartner_location_id) MATCH SIMPLE
|
||||
ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED
|
||||
;
|
||||
|
||||
|
||||
SELECT register_migration_script('201707202213_IDEMPIERE-3424.sql') FROM dual
|
||||
;
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
-- IDEMPIERE-3424 table m_movement / constraint cbpartnerlocation_mmovement incorrect
|
||||
-- Jul 20, 2017 20:13:32 PM CEST
|
||||
ALTER TABLE m_movement DROP CONSTRAINT cbpartnerlocation_mmovement
|
||||
;
|
||||
|
||||
ALTER TABLE m_movement ADD CONSTRAINT cbpartnerlocation_mmovement FOREIGN KEY (c_bpartner_location_id)
|
||||
REFERENCES c_bpartner_location (c_bpartner_location_id) MATCH SIMPLE
|
||||
ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED
|
||||
;
|
||||
|
||||
|
||||
SELECT register_migration_script('201707202213_IDEMPIERE-3424.sql') FROM dual
|
||||
;
|
||||
|
Loading…
Reference in New Issue