mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 16:16:02 +00:00
initialized postgres support
This commit is contained in:
@@ -32,9 +32,11 @@ export class BooleanField<Required extends true | false = false> extends Field<
|
||||
}
|
||||
}
|
||||
|
||||
schema() {
|
||||
// @todo: potentially use "integer" instead
|
||||
return this.useSchemaHelper("boolean");
|
||||
override schema() {
|
||||
return Object.freeze({
|
||||
...super.schema()!,
|
||||
type: "boolean",
|
||||
});
|
||||
}
|
||||
|
||||
override getHtmlConfig() {
|
||||
|
||||
Reference in New Issue
Block a user