Skip to content

Commit ed9be5b

Browse files
fix: correct datatype for columns in database
1 parent 157ee7e commit ed9be5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/etl/load.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def load(df: pd.DataFrame, db_path: str = "etl_data.db", table_name: str = "proc
4646
hire_date TEXT,
4747
performance_rating REAL,
4848
phone TEXT,
49-
created_at TEXT,
50-
updated_at TEXT
49+
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
50+
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
5151
)
5252
""")
5353

0 commit comments

Comments
 (0)