here some usefull migration sql:
```
ALTER TABLE authcode RENAME TO auth_code;
ALTER SEQUENCE authcode_id_seq RENAME TO auth_code_id_seq;
ALTER TABLE authcode_audit RENAME TO auth_code_audit;
ALTER TABLE accesstoken RENAME TO access_token;
ALTER SEQUENCE accesstoken_id_seq RENAME TO access_token_id_seq;
ALTER TABLE accesstoken_audit RENAME TO access_token_audit;
ALTER TABLE refreshtoken RENAME TO refresh_token;
ALTER SEQUENCE refreshtoken_id_seq RENAME TO refresh_token_id_seq;
ALTER TABLE refreshtoken_audit RENAME TO refresh_token_audit;
ALTER TABLE accesssession RENAME TO access_session;
ALTER SEQUENCE accesssession_id_seq RENAME TO access_session_id_seq;
ALTER TABLE accesssession_audit RENAME TO access_session_audit;
ALTER TABLE personnotificationoption RENAME TO
person_notification_option;
ALTER SEQUENCE personnotificationoption_id_seq RENAME TO
person_notification_option_id_seq;
ALTER TABLE notificationtoken RENAME TO notification_token;
ALTER SEQUENCE notificationtoken_id_seq RENAME TO
notification_token_id_seq;
ALTER TABLE notificationtoken_audit RENAME TO notification_token_audit;
ALTER TABLE backgroundimage RENAME TO background_image;
ALTER SEQUENCE backgroundimage_id_seq RENAME TO background_image_id_seq;
ALTER TABLE sentemail RENAME TO sent_email;
ALTER SEQUENCE sentemail_id_seq RENAME TO sent_email_id_seq;
ALTER TABLE sentemail_audit RENAME TO sent_email_audit;
ALTER TABLE "authorization" RENAME TO auth;
ALTER SEQUENCE authorization_id_seq RENAME TO auth_id_seq;
ALTER TABLE authorization_audit RENAME TO auth_audit;
```