Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 55 lines (43 sloc) 0.957 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54

create table hackers (
  name varchar primary key,
  followers integer,
  repos integer,
  location varchar,
  updated timestamp
);

create table updates (
  update_id varchar primary key,
  author varchar,
  date timestamp,
  title varchar,
  content text,
  media varchar
);
create index updates_date_idx on updates (date);


create table blog_posts (
  blog varchar,
  feed_url varchar,
  href varchar unique,
  title varchar,
  author varchar,
  date timestamp,
  summary text
);

create index blog_posts_date_idx on updates (date);

create table tweets (
  id bigint primary key,
  created_at timestamp,
  user_screen_name varchar,
  user_profile_image_url varchar,
  user_description varchar,
  user_location varchar,
  user_followers_count integer,
  text varchar,
  retweet_count integer default 0
);
create index tweets_created_at_idx on tweets (created_at);


create table blogs (
  title varchar,
  html_url varchar,
  feed_url varchar
);



Something went wrong with that request. Please try again.