Skip to content

Commit

Permalink
fix: remove timescale extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Dara Hayes committed Feb 22, 2018
1 parent 8007a6e commit b0c2ebf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/dao/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ func DoInitialSetup() error {
if db == nil {
return errors.New("cannot setup database, must call Connect() first")
}
if _, err := db.Exec("CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;"); err != nil {
return err
}
if _, err := db.Exec("CREATE TABLE IF NOT EXISTS mobileappmetrics(clientId varchar(30) NOT NULL, event_time timestamptz NOT NULL DEFAULT now() Not NULL, data jsonb)"); err != nil {
return err
}
Expand Down

0 comments on commit b0c2ebf

Please sign in to comment.