API reference / @evolu/common / Evolu/Internal / DbSchema
Variable: DbSchema
const DbSchema: ObjectType<{
indexes: ArrayType<ObjectType<{
name: Type<"String", string, string, StringError, string, StringError>;
sql: Type<"String", string, string, StringError, string, StringError>;
}>>;
tables: ArrayType<ObjectType<{
columns: ArrayType<BrandType<Type<"Brand", string & Brand<"Base64Url">, string, RegexError<"Base64Url">, string, StringError>, "MaxLength256", MaxLengthError<256>,
| StringError
| RegexError<"Base64Url">>>;
name: BrandType<Type<"Brand", string & Brand<"Base64Url">, string, RegexError<"Base64Url">, string, StringError>, "MaxLength256", MaxLengthError<256>,
| StringError
| RegexError<"Base64Url">>;
}>>;
}>;
Defined in: packages/common/src/Evolu/Db.ts:108