fix: character and bit columns with fixed length not inserting/updating properly
Fixes the error "value too long for type character(1)" when the char length of the column was bigger than one.
This commit is contained in:
Vendored
+6
@@ -3302,3 +3302,9 @@ create table bets (
|
||||
|
||||
create index bets_data_json on bets ((data_json ->>'contractId'));
|
||||
create index bets_data_jsonb on bets ((data_jsonb ->>'contractId'));
|
||||
|
||||
-- https://github.com/PostgREST/postgrest/issues/2861
|
||||
CREATE TABLE bitchar_with_length (
|
||||
bit bit(5),
|
||||
char char(5)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user