Skip to content

Commit

Permalink
fixes bug 828060 - default report_partition_info table, needed for we…
Browse files Browse the repository at this point in the history
…ekly_report_partitions SP
  • Loading branch information
rhelmer committed Jan 8, 2013
1 parent a54624e commit 367214f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tools/dataload/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.


TABLES="os_names os_name_matches process_types products release_channels product_release_channels raw_adu release_channel_matches releases_raw uptime_levels windows_versions reports os_versions product_productid_map release_repositories crontabber_state"
TABLES="os_names os_name_matches process_types products release_channels product_release_channels raw_adu release_channel_matches releases_raw uptime_levels windows_versions reports os_versions product_productid_map release_repositories crontabber_state report_partition_info"

function db {
sql=$1
Expand Down
4 changes: 4 additions & 0 deletions tools/dataload/report_partition_info.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
table_name,build_order,keys,indexes,fkeys
reports,1,"{id,uuid}","{date_processed,hangid,""product,version"",reason,signature,url}",{}
plugins_reports,2,"{""report_id,plugin_id""}","{""report_id,date_processed""}","{""(plugin_id) REFERENCES plugins(id)"",""(report_id) REFERENCES reports_WEEKNUM(id)""}"
extensions,3,"{""report_id,extension_key""}","{""extension_id,extension_version"",""report_id,date_processed""}","{""(report_id) REFERENCES reports_WEEKNUM(id)""}"

0 comments on commit 367214f

Please sign in to comment.