移除 多余的 name 字段

This commit is contained in:
ivamp 2024-07-21 17:24:05 +08:00
parent abf9952212
commit 9e2107ea9c
2 changed files with 10 additions and 2 deletions

View File

@ -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);

View File

@ -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=