Skip to content

Commit

Permalink
Merge pull request #1962 from selenamarie/bug984453-update-fake-adu-q…
Browse files Browse the repository at this point in the history
…uery

Fixes bug 984453 - specify insert columns for raw_adu faking
  • Loading branch information
lonnen committed Mar 19, 2014
2 parents 5b62bb1 + d25f196 commit 2841d9e
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions scripts/staging/fake_raw_adu.py
Expand Up @@ -23,8 +23,20 @@

#dump raw_adu to file
csd_cur.execute("""
INSERT into raw_adu
(SELECT adu_count,
INSERT into raw_adu (
adu_count,
date,
product_name,
product_os_platform,
product_os_version,
product_version,
build,
build_channel,
product_guid,
update_channel
)
(
SELECT adu_count,
'yesterday'::date as "date",
product_name,
product_os_platform,
Expand Down

0 comments on commit 2841d9e

Please sign in to comment.