The Scottish revolution of 1689