doing db-stuff while installing plugin

There is still an error while trying to alter table...