17facb54507be01ec582d7bd5aac68afe9dbd525
1 CREATE TABLE external_user (
2 -- Foreign key to user_id
3 eu_local_id
BIGINT NOT NULL PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY (START WITH 1),
5 -- Some opaque identifier provided by the external database
6 eu_external_id
VARCHAR(255) NOT NULL