delete empty profile
This commit is contained in:
@@ -85,6 +85,10 @@ service TableDefinition {
|
||||
|
||||
// Drops a table and its metadata, then deletes the profile if it becomes empty.
|
||||
rpc DeleteTable(DeleteTableRequest) returns (DeleteTableResponse);
|
||||
|
||||
// Deletes an entire profile only when none of its user or backend-managed
|
||||
// tables, audit stores, document stores, or accounting stores contain data.
|
||||
rpc DeleteProfile(DeleteProfileRequest) returns (DeleteProfileResponse);
|
||||
}
|
||||
|
||||
message CreateCustomExchangeRatesTableRequest {
|
||||
@@ -716,6 +720,16 @@ message DeleteTableResponse {
|
||||
string message = 2;
|
||||
}
|
||||
|
||||
message DeleteProfileRequest {
|
||||
string profile_name = 1;
|
||||
}
|
||||
|
||||
message DeleteProfileResponse {
|
||||
bool success = 1;
|
||||
string message = 2;
|
||||
int32 tables_deleted = 3;
|
||||
}
|
||||
|
||||
// How a column type is spelled in ColumnDefinition.field_type.
|
||||
enum ColumnTypeSpelling {
|
||||
// The name is the whole spelling: "text", "money", "gtin_13".
|
||||
|
||||
Reference in New Issue
Block a user