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

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

There is a newer version: 1.0.10
Show newest version
CREATE TABLE public.lb45 (name CHAR(20))
INSERT INTO public.lb45 (name) VALUES ('marcel')
ALTER TABLE public.lb45 ADD "columnWithInitialValue" BIGINT
UPDATE public.lb45 SET "columnWithInitialValue" = 0
ALTER TABLE public.lb45 ALTER COLUMN  "columnWithInitialValue" SET NOT NULL
ALTER TABLE public.lb45 ADD "columnWithConstraintInSeparateChange" BIGINT
UPDATE public.lb45 SET "columnWithConstraintInSeparateChange" = 0
ALTER TABLE public.lb45 ALTER COLUMN  "columnWithConstraintInSeparateChange" SET NOT NULL




© 2015 - 2024 Weber Informatics LLC | Privacy Policy