All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.harness.change.expectedSql.postgresql.addAutoIncrement.sql Maven / Gradle / Ivy

There is a newer version: 1.0.10
Show newest version
CREATE TABLE public.autoincrement_test ("intColumn" INTEGER NOT NULL, "dateColumn" date, CONSTRAINT autoincrement_test_pkey PRIMARY KEY ("intColumn"))
CREATE SEQUENCE  IF NOT EXISTS public."autoincrement_test_intColumn_seq"
ALTER TABLE public.autoincrement_test ALTER COLUMN  "intColumn" SET NOT NULL
ALTER TABLE public.autoincrement_test ALTER COLUMN  "intColumn" SET DEFAULT nextval('public."autoincrement_test_intColumn_seq"')
ALTER SEQUENCE public."autoincrement_test_intColumn_seq" OWNED BY public.autoincrement_test."intColumn"




© 2015 - 2024 Weber Informatics LLC | Privacy Policy