Skip to content

Commit

Permalink
remove timestamp column (#1881)
Browse files Browse the repository at this point in the history
* remove timestamp column

* sql migration
  • Loading branch information
fontanierh authored Oct 2, 2023
1 parent 234eb32 commit 2bdd9da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 0 additions & 5 deletions front/lib/models/assistant/actions/retrieval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,6 @@ RetrievalDocument.init(
type: DataTypes.STRING,
allowNull: false,
},
// @ts-expect-error deprecated
timestamp: {
type: DataTypes.BIGINT,
allowNull: true,
},
documentTimestamp: {
type: DataTypes.DATE,
allowNull: false,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE
retrieval_documents DROP COLUMN IF EXISTS "timestamp";

0 comments on commit 2bdd9da

Please sign in to comment.