on the server too

This commit is contained in:
2025-11-09 16:40:29 +11:00
parent 2358ac9090
commit 502945ca2b
6 changed files with 152 additions and 73 deletions
+16
View File
@@ -249,3 +249,19 @@ begin
;
end;
$BODY$;
kham
v2
CREATE TABLE IF NOT EXISTS "personphoto" (
"id" serial NOT NULL,
"personid" INTEGER NOT NULL,
"photo" TEXT NOT NULL,
"imagephot" BYTEA NOT NULL,
"phototype" VARCHAR(20) NULL DEFAULT NULL,
PRIMARY KEY ("id")
);
ALTER TABLE personphoto
alter column id ADD GENERATED BY DEFAULT AS IDENTITY ;