-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from NikolayS/revert-18-new_apis
Revert "New apis"
- Loading branch information
Showing
1 changed file
with
7 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
DROP FUNCTION IF EXISTS v1.google_translate(char, char, text); | ||
DROP FUNCTION IF EXISTS v1.google_translate_array(char, char, json); | ||
revoke execute on function v1.google_translate(char, char, text) from apiuser; | ||
revoke execute on function v1.google_translate_array(char, char, json) from apiuser; | ||
drop function v1.google_translate(char, char, text); | ||
drop function v1.google_translate_array(char, char, json); | ||
--revoke usage on schema v1 from apiuser; | ||
--drop schema v1 cascade; | ||
--drop role apiuser; | ||
|
||
DROP FUNCTION IF EXISTS v1.promt_translate(char, char, text); | ||
DROP FUNCTION IF EXISTS v1.promt_translate_array(char, char, json); | ||
|
||
DROP FUNCTION IF EXISTS v1.bing_translate(char, char, text); | ||
DROP FUNCTION IF EXISTS v1.bing_translate_array(char, char, json); | ||
-- revoke usage on schema v1 from apiuser; | ||
-- drop schema v1 cascade; | ||
-- drop role apiuser; | ||
|
||
DROP FUNCTION IF EXISTS v2.translate_array(CHAR(2), CHAR(2), JSON) | ||
|
||
-- REVOKE USAGE ON SCHEMA v2 FROM apiuser; | ||
-- DROP SCHEMA v2 CASCADE; | ||
-- DROP ROLE apiuser; |