Errore nel ripristino del backup durante la migrazione

La tabella user_profiles nel mio vecchio backup non contiene davvero la colonna card_image_badge_id, quindi ho modificato il dump SQL, aggiungendo la nuova colonna (ma non profile_background_upload_id e card_background_upload_id, che sono presenti negli schemi più recenti). Ora la CREATE TABLE appare così:

CREATE TABLE public.user_profiles (
        user_id integer NOT NULL,
        location character varying,
        website character varying,
        bio_raw text,
        bio_cooked text,
        profile_background character varying(255),
        dismissed_banner_key integer,
        bio_cooked_version integer,
        badge_granted_title boolean DEFAULT false,
        card_background character varying(255),
        card_image_badge_id integer,
        views integer DEFAULT 0 NOT NULL
    );

Il ripristino è andato a buon fine. Ricevo un errore 500 dopo aver effettuato l’accesso al sito, ma potrebbe trattarsi del problema che ho cercato di evitare avviando la nuova istanza fin dall’inizio.

1 Mi Piace