Re: Drop a primary

2019-10-02 Thread Ron
On 10/2/19 1:48 PM, Martin Mueller wrote: I created a primary key with the following commands Add id serial Add primary key (id) I cannot figure out from the documentation how to drop that column. Drop it just like you added it: test=# alter table foobar add id serial; ALTER TABLE test=#

Drop a primary

2019-10-02 Thread Martin Mueller
I created a primary key with the following commands Add id serial Add primary key (id) I cannot figure out from the documentation how to drop that column.