Skip to content

Instantly share code, notes, and snippets.

@naan
Created August 5, 2010 02:16
Show Gist options
  • Save naan/509117 to your computer and use it in GitHub Desktop.
Save naan/509117 to your computer and use it in GitHub Desktop.
CREATE TABLE statuses (
'id' INTEGER PRIMARY KEY,
'tweet' TEXT,
'in_reply_to_status_id' INTEGER,
'user_id' INTEGER,
'user' TEXT
);
CREATE INDEX statuses_in_reply_to_status_id on statuses(in_reply_to_status_id);
CREATE INDEX statuses_user_id on statuses(user_id);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment