I want to add the unique constarint I am using the following query but it gives me an error of SQL syntax
ALTER TABLE user_device ADD CONSTRAINT UKnfrn6f2pu3tqcwhqen0d6cq7u (owner,push_notification_id);
where is the mistake :| it highlighted the mistake in push_notification_id