Expand webmentions source and target columns to text
Long brid.gy Bluesky source URLs exceed 255 characters, causing SQLSTATE[22001] errors. Changed source and target from varchar(255) to text (no performance impact in PostgreSQL). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1137d2a07e
commit
0a13d27d6f
3 changed files with 60 additions and 2 deletions
|
|
@ -723,8 +723,8 @@ ALTER SEQUENCE public.users_id_seq OWNED BY public.users.id;
|
|||
|
||||
CREATE TABLE public.webmentions (
|
||||
id integer NOT NULL,
|
||||
source character varying(255) NOT NULL,
|
||||
target character varying(255) NOT NULL,
|
||||
source text NOT NULL,
|
||||
target text NOT NULL,
|
||||
commentable_id integer,
|
||||
commentable_type character varying(255),
|
||||
type character varying(255),
|
||||
|
|
|
|||
Loading…
Reference in a new issue