Fixed migration with TRIGGERs.

DDL with TRIGGERs aren't possible with prepare statements. Removed prepared statements in migration commands.