O
в mysql это было бы так
createdAt timestamp default CURRENT_TIMESTAMP not null,
updatedAt timestamp default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP,
Size: a a a
O
KK
YS
YS
O
AP
A
O
AP
CREATE TABLE insurance_details (
id SERIAL,
... more fields,
medical_existed_insurance_details INT,
car_existed_insurance_details INT,
PRIMARY KEY (id),
CONSTRAINT fk_med_default FOREIGN KEY (medical_existed_insurance_details) REFERENCES existed_insurance_details (id),
CONSTRAINT fk_car_default FOREIGN KEY (car_existed_insurance_details) REFERENCES existed_insurance_details (id)
);
CREATE TABLE existed_insurance_details (
id SERIAL,
... more fields,
PRIMARY KEY (id)
);
П
[2020-06-11 13:19:24.423 MSK u=postgres d=[unknown] h=xxx.xxx.xxx.хх(33294) p=56932 l=3 trans_id=0]
GS
[2020-06-11 13:19:24.423 MSK u=postgres d=[unknown] h=xxx.xxx.xxx.хх(33294) p=56932 l=3 trans_id=0]
П
GS
П
GS
GS
П
П
2_
G