Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for generated columns #128

Open
chan32167 opened this issue Mar 20, 2023 · 0 comments
Open

Support for generated columns #128

chan32167 opened this issue Mar 20, 2023 · 0 comments

Comments

@chan32167
Copy link

chan32167 commented Mar 20, 2023

CREATE TABLE "tbl_point_of_expedition" ("id" SERIAL NOT NULL, "createdAt" TIMESTAMP NOT NULL DEFAULT now(), "updatedAt" TIMESTAMP NOT NULL DEFAULT now(), "idSifen" character varying NOT NULL, "establishmentId" integer NOT NULL, "adminjsTitle" character varying GENERATED ALWAYS AS (id::text || ' - ' || "establishmentId"::text || ' - ' || "idSifen") STORED NOT NULL, CONSTRAINT "PK_276216ad156f80ea65a8ef111bd" PRIMARY KEY ("id"));

Is there any way the GENERATED ALWAYS AS (...) STORED can be supported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant