neosync icon indicating copy to clipboard operation
neosync copied to clipboard

[NEOS-981] DB Migrations don't work out of the box with RDS

Open nickzelei opened this issue 4 months ago • 0 comments

Small bug report, the very first migration the neosync-api runs doesn't work out of the box on RDS for me.

Trying to back neosync with a real db instead of postgres and when I set up neosync to use the rdsadmin user this line fails:
CREATE SCHEMA IF NOT EXISTS neosync_api AUTHORIZATION neosync_api_owner;

because my rdsadmin user isn't in the neosync_api_owner group.

Running this on the db and re-running fixed it:
GRANT neosync_api_owner to rdsadmin;

https://discord.com/channels/1171894401140797591/1175120257921323009/1225928784839053375

From SyncLinear.com | NEOS-981

nickzelei avatar Apr 05 '24 22:04 nickzelei