rag/internal/migrations/20240721084724_remove_name_field_from_document_blocks.sql

8 lines
244 B
MySQL
Raw Normal View History

2024-07-21 09:24:05 +00:00
-- +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);