Skip to content

Commit 7ccf14d

Browse files
committed
Fixed postgres duplicate key violation
1 parent 751265f commit 7ccf14d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dags/sql/create_table.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
DROP TABLE IF EXISTS covid_data;
22

33
CREATE TABLE IF NOT EXISTS covid_data (
4-
date_of_interest DATE PRIMARY KEY,
4+
date_of_interest DATE,
55
case_count INT,
66
probable_case_count INT,
77
hospitalized_count INT,

0 commit comments

Comments
 (0)