Skip to content

Commit

Permalink
work on #8, needs further testing
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewberryman committed Oct 11, 2016
1 parent 20f2b21 commit d012f20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ WITH (
ALTER TABLE all_reports
OWNER TO postgres;

-- Create table to store id of last seen tweet id as captured using GNIP
CREATE TABLE seen_tweet_id (onerow_id bool PRIMARY KEY DEFAULT TRUE, id bigint, CONSTRAINT onerow_uni CHECK (onerow_ID));

-- Add Geometry column to tweet_reports
SELECT AddGeometryColumn ('public','all_reports','the_geom',4326,'POINT',2);
ALTER TABLE all_reports ALTER COLUMN the_geom SET NOT NULL;
Expand Down

0 comments on commit d012f20

Please sign in to comment.