liquibase.harness.change.expectedSql.postgresql.addDefaultValueSequenceNext.sql Maven / Gradle / Ivy
CREATE SEQUENCE IF NOT EXISTS public.test_sequence START WITH 1 INCREMENT BY 1 MINVALUE 1
ALTER TABLE public.authors ADD sequence_referenced_column numeric
ALTER TABLE public.authors ALTER COLUMN sequence_referenced_column SET DEFAULT nextval('public.test_sequence')
ALTER SEQUENCE public.test_sequence OWNED BY public.authors.sequence_referenced_column
© 2015 - 2024 Weber Informatics LLC | Privacy Policy