Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Create postgres table with auto-incrementing primary key
// id SERIAL primary key
CREATE TABLE public.user_events
(
id serial primary key,
campaign_id bigint NOT NULL,
user_uuid bigint NOT NULL,
reward integer NOT NULL
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.