CREATE TABLE sales_distribution ( id serial PRIMARY KEY NOT NULL, pep_user_id int NOT NULL, provinces text NOT NULL, cities text, del boolean DEFAULT false NULL ); CREATE UNIQUE INDEX sales_distribution_id_uindex ON sales_distribution (id);