add gendercomment in person insertion
This commit is contained in:
parent
9ac2553eb0
commit
1cc1b83435
@ -254,10 +254,10 @@ INSERT INTO chill_person_person (
|
||||
, firstname, lastname, birthdate, place_of_birth, memo, email, contactinfo, phonenumber, mobilenumber, numberofchildren, gender, deathdate, proxyaccompanyingperiodopenstate
|
||||
, createdat, updatedat, createdby_id, updatedby_id
|
||||
, center_id
|
||||
, gendercomment_comment, gendercomment_userid, gendercomment_date
|
||||
/*
|
||||
, maritalstatusdate
|
||||
, maritalstatuscomment_comment, maritalstatuscomment_userid, maritalstatuscomment_date
|
||||
, gendercomment_comment, gendercomment_userid, gendercomment_date
|
||||
, acceptsms, acceptemail
|
||||
*/
|
||||
) SELECT
|
||||
@ -270,10 +270,10 @@ INSERT INTO chill_person_person (
|
||||
, CURRENT_DATE, CURRENT_DATE -- createdat, updatedat
|
||||
, (SELECT distinct(first_value(id) OVER(ORDER BY id)) FROM users), (SELECT distinct(first_value(id) OVER(ORDER BY id)) FROM users) -- createdby_id, updatedby_id
|
||||
, (SELECT distinct(first_value(id) OVER(ORDER BY id)) FROM centers) -- center_id
|
||||
, TRIM(gendercomment), (SELECT distinct(first_value(id) OVER(ORDER BY id)) FROM users), CURRENT_DATE
|
||||
/*
|
||||
, -- maritalstatusdate
|
||||
, -- maritalstatuscomment_comment, maritalstatuscomment_userid, maritalstatuscomment_date
|
||||
, -- gendercomment_comment, gendercomment_userid, gendercomment_date
|
||||
, -- acceptsms, acceptemail
|
||||
*/
|
||||
FROM import.personnes ip;
|
||||
|
Loading…
Reference in New Issue
Block a user