Advertisement
user0372
Sep 28th, 2023
15
0
Never
This is comment for paste Untitled
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PRIMARY KEY (date, event_address(coordinates)), primary key повинно бути поле id в усіх таблицях
  2. CONSTRAINT unique_event_entry UNIQUE (date, event_address(coordinates)) таке не спрацює, тут повинно бути поле foreign key на таблицю адреси івенту
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement