Skip to content

Instantly share code, notes, and snippets.

@tygern
Created August 26, 2015 13:17
Show Gist options
  • Select an option

  • Save tygern/7574ebf8b441c65f7a5a to your computer and use it in GitHub Desktop.

Select an option

Save tygern/7574ebf8b441c65f7a5a to your computer and use it in GitHub Desktop.
Non Sequential ID Generation - create table
CREATE TABLE users
(
id BIGINT NOT NULL DEFAULT fetch_id('id_seq'),
email VARCHAR
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment