The construction of the SQL is wrong. This has been corrected so that when you update the plugin no error in the SQL statements generated to implement the changes in the tables.