add Survey table to db, set foreign key