Skip to content

directory: support listing businesses and service bots - #7333

Open
epoberezkin wants to merge 4 commits into
masterfrom
ep/dir-contacts
Open

directory: support listing businesses and service bots#7333
epoberezkin wants to merge 4 commits into
masterfrom
ep/dir-contacts

Conversation

@epoberezkin

Copy link
Copy Markdown
Member

No description provided.

[r|
CREATE TABLE sx_directory_contact_regs(
contact_reg_id BIGINT PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
contact_id BIGINT REFERENCES contacts(contact_id) ON UPDATE RESTRICT ON DELETE CASCADE,

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
contact_id BIGINT REFERENCES contacts(contact_id) ON UPDATE RESTRICT ON DELETE CASCADE,
contact_id BIGINT REFERENCES contacts(contact_id) ON UPDATE RESTRICT ON DELETE CASCADE, -- nullable, to allow extension to business chats and non-owned addresses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants