Skip to content

Commit

Permalink
Merge pull request #926 from barthisrael/dev
Browse files Browse the repository at this point in the history
drop user mapping sql template correction
  • Loading branch information
wind39 committed Apr 18, 2019
2 parents f075973 + 62f13fd commit 8499cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OmniDB/OmniDB_app/include/OmniDatabase/PostgreSQL.py
Original file line number Diff line number Diff line change
Expand Up @@ -4901,7 +4901,7 @@ def TemplateImportForeignSchema(self):
''')

def TemplateDropUserMapping(self):
return Template('DROP USER MAPPING #user_name# SERVER #srvname#')
return Template('DROP USER MAPPING FOR #user_name# SERVER #srvname#')

def TemplateCreateForeignTable(self):
return Template('''CREATE FOREIGN TABLE #schema_name#.table_name
Expand Down

0 comments on commit 8499cda

Please sign in to comment.