Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def upgrade() -> None:
""")

op.execute(f"""
CREATE USER MAPPING FOR {user}
CREATE USER MAPPING FOR PUBLIC
SERVER data_sources_server
OPTIONS (user '{user}', password '{password}');
""")
Expand Down Expand Up @@ -236,7 +236,7 @@ def downgrade() -> None:
# Drop user mapping
user = os.getenv("DATA_SOURCES_USER")
op.execute(f"""
DROP USER MAPPING FOR {user} SERVER data_sources_server;
DROP USER MAPPING FOR PUBLIC SERVER data_sources_server;
""")

# Drop server
Expand Down