completely changed system of how are tables linked together
This commit is contained in:
@@ -10,12 +10,18 @@ service TableDefinition {
|
||||
rpc DeleteTable (DeleteTableRequest) returns (DeleteTableResponse);
|
||||
}
|
||||
|
||||
message TableLink {
|
||||
string linked_table_name = 1;
|
||||
bool required = 2;
|
||||
}
|
||||
|
||||
message PostTableDefinitionRequest {
|
||||
string table_name = 1;
|
||||
repeated ColumnDefinition columns = 2;
|
||||
repeated string indexes = 3;
|
||||
string profile_name = 4;
|
||||
optional string linked_table_name = 5;
|
||||
repeated TableLink links = 2;
|
||||
repeated ColumnDefinition columns = 3;
|
||||
repeated string indexes = 4;
|
||||
string profile_name = 5;
|
||||
optional string linked_table_name = 6;
|
||||
}
|
||||
|
||||
message ColumnDefinition {
|
||||
|
||||
Reference in New Issue
Block a user