You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 2 DB, reference DB have 10 tables, target one have 9.
Original columns order of books_lost table:
CREATE TABLE books_lost (
id integer NOT NULL,
title text NOT NULL,
author_id integer,
subject_id integer
);
Order, formed by Pgdiff (sortted by alphabet)
6-COLUMN.sql
ALTER TABLE public.books_lost ADD COLUMN author_id integer;
ALTER TABLE public.books_lost ADD COLUMN id integer NOT NULL;
ALTER TABLE public.books_lost ADD COLUMN subject_id integer;
ALTER TABLE public.books_lost ADD COLUMN title text NOT NULL;
The difference affects error on futher data synchronization between DB's. It would be right to leave original columns order.