Skip to content

Commit

Permalink
Add users table in test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Dec 22, 2023
1 parent 851a8ae commit 6837775
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/fixtures/pokhara.sql
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,17 @@ SET default_tablespace = '';

SET default_table_access_method = heap;


CREATE TABLE public.users (
osm_id int8 NOT NULL,
"role" int4 NULL DEFAULT 3,
CONSTRAINT users_un UNIQUE (osm_id),
CONSTRAINT valid_role CHECK ((role = ANY (ARRAY[1, 2, 3])))
);

INSERT INTO public.users
(osm_id, "role")
VALUES(7004124, 1);
--
-- Name: countries; Type: TABLE; Schema: public; Owner: postgres
--
Expand Down

0 comments on commit 6837775

Please sign in to comment.