Replies: 2 comments
-
I'm also interested in support of Is there anything speaking against |
Beta Was this translation helpful? Give feedback.
0 replies
-
There is error in the Filament relations filamentphp/filament#8698 when using Currently as workaround I'm using a manual $table->jsonb('data')->nullable(); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PostgreSQL has different data types for dealing with JSON. Using schemaless attributes, the resulting column is always of type
json
. But in almost all cases one wants to usejsonb
overjson
when working with Postgres.I saw this previous issue where someone asked something similar, but the answers given are a bit minimal:
#15
I'm not sure if it's supposed to be supported already. If it's already possible or there's a workaround using this package please let me know!
Otherwise, would it be possible to add support for this?
E.g. something like
$table->schemalessAttributes('extra_attributes', [ 'type' => 'jsonb'])
.Many thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions