fix on conflict replace not added to upgrade table section of create table