0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-16 02:08:49 +00:00
Bartosz Sypytkowski 62275b5bc7
Parametrize namespace creation for shared schema db (#1049)
* initial parameters for creation of shared schema db

* store shared schema config persistently

* add StmtKind::DDL and block DDL schema changes on databases using shared schema

* Revert "add StmtKind::DDL and block DDL schema changes on databases using shared schema"

This reverts commit 5a5c0d62c91d72151a1c92309d8746116c518ad5.
2024-02-20 14:21:55 +00:00

23 lines
704 B
Protocol Buffer

syntax = "proto3";
package metadata;
// Database config used to send db configs over the wire and stored
// in the meta store.
message DatabaseConfig {
bool block_reads = 1;
bool block_writes = 2;
// The reason why operations are blocked. This will be included in [`Error::Blocked`].
optional string block_reason = 3;
// maximum db size (in pages)
uint64 max_db_pages = 4;
optional string heartbeat_url = 5;
optional string bottomless_db_id = 6;
optional string jwt_key = 7;
optional uint64 txn_timeout_s = 8;
bool allow_attach = 9;
optional uint64 max_row_size = 10;
optional bool shared_schema = 11;
optional string shared_schema_name = 12;
}