fix migration
This commit is contained in:
parent
1eb93f7ecc
commit
7abf79e7bb
@ -1,7 +1,4 @@
|
|||||||
|
|
||||||
INSERT INTO contactrole_ref (contact_id, role)
|
|
||||||
( SELECT contact_id, 'voting-right' FROM contact );
|
|
||||||
|
|
||||||
CREATE TABLE member_asset (
|
CREATE TABLE member_asset (
|
||||||
member_asset_id integer NOT NULL,
|
member_asset_id integer NOT NULL,
|
||||||
bp_id integer NOT NULL,
|
bp_id integer NOT NULL,
|
||||||
@ -48,11 +45,6 @@ ALTER TABLE ONLY member_asset
|
|||||||
ALTER TABLE ONLY member_share
|
ALTER TABLE ONLY member_share
|
||||||
ADD CONSTRAINT pk_member_share PRIMARY KEY (member_share_id);
|
ADD CONSTRAINT pk_member_share PRIMARY KEY (member_share_id);
|
||||||
|
|
||||||
ALTER TABLE ONLY member_asset
|
|
||||||
ADD CONSTRAINT pk_member_asset PRIMARY KEY (member_asset_id);
|
|
||||||
|
|
||||||
ALTER TABLE business_partner DROP CONSTRAINT ckc_shares_signed_business;
|
|
||||||
|
|
||||||
ALTER TABLE business_partner DROP COLUMN shares_updated ;
|
ALTER TABLE business_partner DROP COLUMN shares_updated ;
|
||||||
|
|
||||||
ALTER TABLE business_partner DROP COLUMN shares_signed ;
|
ALTER TABLE business_partner DROP COLUMN shares_signed ;
|
||||||
|
Loading…
Reference in New Issue
Block a user