I get an error when executing the below query:
ALTER TABLE property_res_details
ADD CONSTRAINT PropertyIdLink FOREIGN KEY ( Property_ID )
REFERENCES properties( Property_ID ) ON DELETE CASCADE ;
#1005 - Can't create table './resfi/#sql-10e1_8df.frm' (errno: 150)
What might I be doing wrong?