mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-21 06:55:03 +00:00
Update db.proto
This commit is contained in:
@@ -103,8 +103,11 @@ message CountResponse {
|
|||||||
int32 count = 1;
|
int32 count = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Rename a table
|
||||||
message RenameTableRequest {
|
message RenameTableRequest {
|
||||||
|
// current table name
|
||||||
string from = 1;
|
string from = 1;
|
||||||
|
// new table name
|
||||||
string to = 2;
|
string to = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -112,10 +115,12 @@ message RenameTableResponse {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// List tables in the DB
|
||||||
message ListTablesRequest {
|
message ListTablesRequest {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message ListTablesResponse {
|
message ListTablesResponse {
|
||||||
|
// list of tables
|
||||||
repeated string tables = 1;
|
repeated string tables = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user