CREATE TABLE cloud_file
(
    id serial NOT NULL,
    resource_id text NOT NULL,
    cc_file_id integer NOT NULL,
    CONSTRAINT cloud_file_pkey PRIMARY KEY (id),
    CONSTRAINT "cloud_file_FK_1" FOREIGN KEY (cc_file_id)
        REFERENCES cc_files (id) MATCH SIMPLE
        ON UPDATE NO ACTION ON DELETE CASCADE
)
CREATE TABLE cloud_file
(
    id serial NOT NULL,
    resource_id text NOT NULL,
    storage_backend text NOT NULL,
    cc_file_id integer NOT NULL,
    CONSTRAINT cloud_file_pkey PRIMARY KEY (id),
    CONSTRAINT "cloud_file_FK_1" FOREIGN KEY (cc_file_id)
        REFERENCES cc_files (id) MATCH SIMPLE
        ON UPDATE NO ACTION ON DELETE CASCADE
)
Upgrade sql was missing the storage_backend column
Upgrade sql was missing the storage_backend column
