DB migration failing with "malformed array literal" on PostgreSQL #144

Closed
opened 2023-09-01 10:41:09 +00:00 by raucao · 1 comment
Owner
Caused by:                                                                                                                                                            
ActiveRecord::StatementInvalid: PG::InvalidTextRepresentation: ERROR:  malformed array literal: "--- []"

LINE 1: ...ken" character varying, "permissions" text[] DEFAULT '--- []

DETAIL:  Array value must start with "{" or dimension information.
```plain Caused by: ActiveRecord::StatementInvalid: PG::InvalidTextRepresentation: ERROR: malformed array literal: "--- []" LINE 1: ...ken" character varying, "permissions" text[] DEFAULT '--- [] DETAIL: Array value must start with "{" or dimension information. ```
raucao added the
bug
label 2023-09-01 10:41:09 +00:00
raucao changed title from DB migration for RS authorizations failing with "malformed array literal" to DB migration failing with "malformed array literal" 2023-09-01 10:41:15 +00:00
raucao changed title from DB migration failing with "malformed array literal" to DB migration failing with "malformed array literal" on PostgreSQL 2023-09-01 10:41:38 +00:00
Author
Owner
https://stackoverflow.com/a/43141593
raucao self-assigned this 2023-09-03 11:45:06 +00:00
Sign in to join this conversation.
No description provided.