Googling around told me to try this:
insert into Plan default values;
but I got:
null value in column "id" violates not-null constraint
or this:
insert into Plan (id) values (null);
but I got the same thing.
The examples were for SQL: is there something different for PostgreSQL?
Table structure:
  create table Plan (
    id int4 not null,
    primary key (id)
); 
 
     
     
    