Skip to content

Commit

Permalink
[core] remove invalid column (#9505)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdraier authored Dec 18, 2024
1 parent 3cea920 commit 79fe21f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/src/stores/postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3194,8 +3194,8 @@ impl Store for PostgresStore {
let stmt = tx
.prepare(
"INSERT INTO data_sources_folders \
(id, data_source, created, folder_id, mime_type) \
VALUES (DEFAULT, $1, $2, $3, $4) \
(id, data_source, created, folder_id) \
VALUES (DEFAULT, $1, $2, $3) \
ON CONFLICT (folder_id, data_source) DO UPDATE \
SET folder_id = data_sources_folders.folder_id \
RETURNING id, created",
Expand All @@ -3209,7 +3209,6 @@ impl Store for PostgresStore {
&data_source_row_id,
&(created as i64),
&upsert_params.folder_id,
&upsert_params.mime_type,
],
)
.await?;
Expand Down

0 comments on commit 79fe21f

Please sign in to comment.