some SQL migrations and misc scripts previously not committed