diff --git a/internal/migrations/20240721084724_remove_name_field_from_document_blocks.sql b/internal/migrations/20240721084724_remove_name_field_from_document_blocks.sql new file mode 100644 index 0000000..bda5f8e --- /dev/null +++ b/internal/migrations/20240721084724_remove_name_field_from_document_blocks.sql @@ -0,0 +1,7 @@ +-- +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); diff --git a/internal/migrations/atlas.sum b/internal/migrations/atlas.sum index 2de6599..6c89a44 100644 --- a/internal/migrations/atlas.sum +++ b/internal/migrations/atlas.sum @@ -1,2 +1,3 @@ -h1:hDIlYDlNwP2WQt4WZ9vaeH5D8IAoeLPMBHidHnSKaIs= -20240720155522_init.sql h1:CKqDLw2sVT+NMqnmrvwtkmbHwNFJTUbdR5q0OtoxF1k= +h1:i8hOFFa2SFOjNMtOo1eFw1/d9UpiSBEi2XMeAacMcEA= +20240720155522_init.sql h1:EV/WhsF30qL+Q4kf1mhNxGP0KQpbVxMhjzUmG1pOEdQ= +20240721084724_remove_name_field_from_document_blocks.sql h1:V/+wh2/7HshCdZNTo4xrAVG7WF8HlcRIKa8285zy2K8=