Commit b7d2a143 authored by Oscar Roisin's avatar Oscar Roisin
Browse files

update date table keys

parent 9e3d6cae
......@@ -307,7 +307,7 @@ def createTableQueryPartitionningByDate(table):
peak_wind_drct decimal,
peak_wind_time decimal,
metar varchar,
PRIMARY KEY((year), month, day, hour, minute, station)
PRIMARY KEY((year, month), day, station, hour, minute)
return query
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment