diff --git a/front/lib/models/assistant/actions/retrieval.ts b/front/lib/models/assistant/actions/retrieval.ts index 53b607d8f880..345acffbe17c 100644 --- a/front/lib/models/assistant/actions/retrieval.ts +++ b/front/lib/models/assistant/actions/retrieval.ts @@ -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, diff --git a/front/migrations/20230929_drop_column_timestamp_retrieval_docs.sql b/front/migrations/20230929_drop_column_timestamp_retrieval_docs.sql new file mode 100644 index 000000000000..90e5a844844b --- /dev/null +++ b/front/migrations/20230929_drop_column_timestamp_retrieval_docs.sql @@ -0,0 +1,2 @@ +ALTER TABLE + retrieval_documents DROP COLUMN IF EXISTS "timestamp"; \ No newline at end of file