You have a semicolon at the end of your alter type command, but then you also added a slash after that. You can see that the type was altered after the semicolon. By adding the slash you re-run the same alter type command, which then attempts to re-add the same attribute. Just remove the last slash from your code. You need both a semicolon and a slash after after create type commands, but not after alter type commands.