BEGIN;
alter table phonetype add column speech_start_wait integer;
update phonetype set speech_start_wait = '1' where speech_start_wait IS NULL;
alter table phonetype alter column speech_start_wait set default '1';
alter table phonetype alter column speech_start_wait set not null;
COMMIT;

