You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
284 B
11 lines
284 B
2 years ago
|
|
||
|
|
||
|
CREATE TABLE sales_distribution
|
||
|
(
|
||
|
id serial PRIMARY KEY NOT NULL,
|
||
|
pep_user_id int NOT NULL,
|
||
|
provinces varchar(255) [] NOT NULL,
|
||
|
cities varchar(255) [],
|
||
|
del boolean DEFAULT false NULL
|
||
|
);
|
||
|
CREATE UNIQUE INDEX sales_distribution_id_uindex ON sales_distribution (id);
|