This commit is contained in:
parent
65082be077
commit
8419c76b12
|
@ -6,4 +6,9 @@ ALTER TABLE `vn`.`workerConfig` ADD businessTypeFk varchar(100) NULL
|
|||
|
||||
UPDATE `vn`.`workerConfig`
|
||||
SET businessTypeFk = 'worker'
|
||||
WHERE id = 1;
|
||||
WHERE id = 1;
|
||||
|
||||
UPDATE client c
|
||||
JOIN worker w ON w.id = c.id
|
||||
SET c.name = REPLACE(c.name, 'TR ', ''),
|
||||
c.businessTypeFk = 'worker';
|
|
@ -205,6 +205,7 @@ module.exports = Self => {
|
|||
iban: args.iban,
|
||||
bankEntityFk: args.bankEntityFk,
|
||||
defaultAddressFk: address.id,
|
||||
businessTypeFk: workerConfig.businessTypeFk,
|
||||
},
|
||||
myOptions
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue