rag/internal/migrations/20240721084724_remove_name_field_from_document_blocks.sql

8 lines
244 B
SQL

-- +goose Up
-- drop name column from document_blocks table
ALTER TABLE "document_blocks" DROP COLUMN "name";
-- +goose Down
-- reverse: create name column in document_blocks table
ALTER TABLE "document_blocks" ADD COLUMN "name" VARCHAR(255);