make asterisk-146.sql idempotent