Skip to content

Instantly share code, notes, and snippets.

@bogsio
Created October 28, 2013 19:50
Show Gist options
  • Save bogsio/7203404 to your computer and use it in GitHub Desktop.
Save bogsio/7203404 to your computer and use it in GitHub Desktop.
CREATE TABLE posts (
post_id SERIAL PRIMARY KEY,
title text,
content text
);
INSERT INTO
posts(title, content)
VALUES('This is my first post',
'We are going to have so much fun!')
INSERT INTO
posts(title, content)
VALUES('I went to the movies',
'Watched Django Unchained! Awesome!')
INSERT INTO
posts(title, content)
VALUES('My favourite food?',
'You do''nt know? It''s pizza!')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment