Downgrade database to match rs-application_php