-- +goose Up
-- Diff code generated with pgModeler (PostgreSQL Database Modeler)
-- pgModeler version: 1.2.0-alpha1
-- Diff date: 2025-04-14 01:18:24
-- Source model: dev1
-- Database: dev1
-- PostgreSQL version: 17.0

-- [ Diff summary ]
-- Dropped objects: 0
-- Created objects: 2
-- Changed objects: 0

SET search_path=public,pg_catalog;
-- ddl-end --


-- [ Created objects ] --
-- object: mime | type: COLUMN --
ALTER TABLE public.file ADD COLUMN mime text;
-- ddl-end --

UPDATE public.file SET mime = '';

ALTER TABLE public.file ALTER COLUMN mime SET NOT NULL;


-- object: message | type: COLUMN --
ALTER TABLE public.file ADD COLUMN message varchar(2048);
-- ddl-end --


