Note that I had to remove the view from the table manually, otherwise I could not update the database.