Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fix: drop tenant not drop members bug(#1452) * ci: add test case for #1452 * refactor: move drop members and roles to meta * refactor: be in common use drop database
- Loading branch information
Showing
3 changed files
with
36 additions
and
17 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
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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
statement ok | ||
drop tenant if exists tenant1; | ||
|
||
statement ok | ||
create tenant if not exists tenant1; | ||
|
||
statement ok | ||
create user if not exists user1; | ||
|
||
statement ok | ||
alter tenant tenant1 add user user1 as owner; | ||
|
||
statement ok | ||
drop tenant if exists tenant1; | ||
|
||
statement ok | ||
create tenant if not exists tenant1; | ||
|
||
statement ok | ||
alter tenant tenant1 add user user1 as owner; |