Skip to content

Commit

Permalink
spolu coms
Browse files Browse the repository at this point in the history
  • Loading branch information
philipperolet committed Jan 10, 2025
1 parent be07a60 commit cc3d323
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/stores/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ pub const POSTGRES_TABLES: [&'static str; 16] = [
parents TEXT[] NOT NULL,
source_url TEXT,
document BIGINT,
\"table\" BIGINT,
\"table\" BIGINT,
folder BIGINT,
FOREIGN KEY(data_source) REFERENCES data_sources(id),
FOREIGN KEY(document) REFERENCES data_sources_documents(id),
Expand Down
2 changes: 1 addition & 1 deletion front/components/data_source/DocumentUploadOrEditModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export const DocumentUploadOrEditModal = ({
const body = {
name: initialId ?? document.name,
title: initialId ?? document.name,
mime_type: document.mimeType ?? "application/octet-stream",
mime_type: document.mimeType ?? "text/plain",
timestamp: null,
parent_id: null,
parents: [initialId ?? document.name],
Expand Down

0 comments on commit cc3d323

Please sign in to comment.