Skip to content

Commit

Permalink
server: clean up query text (no functional change)
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair committed Apr 10, 2024
1 parent 6c4229a commit 0c6dd25
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions server/tailsql/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ var schema = &squibble.Schema{
Apply: squibble.Exec(
`ALTER TABLE raw_query_log ADD COLUMN elapsed INTEGER NULL`,
`DROP VIEW query_log`,
`CREATE VIEW query_log AS
SELECT author, source, query, timestamp, elapsed
FROM raw_query_log JOIN queries USING (query_id)`,
`CREATE VIEW query_log AS SELECT author, source, query, timestamp, elapsed `+
`FROM raw_query_log JOIN queries USING (query_id)`,
),
},
},
Expand Down

0 comments on commit 0c6dd25

Please sign in to comment.