Skip to content

Commit

Permalink
coms
Browse files Browse the repository at this point in the history
  • Loading branch information
philipperolet committed Nov 26, 2024
1 parent 189c656 commit 9f83d58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/src/stores/migrations/20241125_nodes_table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ CREATE UNIQUE INDEX idx_data_sources_folders_data_source_folder_id ON data_sourc
-- data sources nodes
CREATE TABLE data_sources_nodes (
id BIGSERIAL PRIMARY KEY,
data_source BIGINT NOT NULL,
created BIGINT NOT NULL,
data_source BIGINT NOT NULL,
timestamp BIGINT NOT NULL,
node_id TEXT NOT NULL,
title TEXT NOT NULL,
mimeType TEXT NOT NULL,
mime_type TEXT NOT NULL,
parents TEXT[] NOT NULL,
document BIGINT,
table BIGINT,
Expand Down
4 changes: 2 additions & 2 deletions core/src/stores/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,12 +508,12 @@ pub const POSTGRES_TABLES: [&'static str; 16] = [
"-- data sources nodes
CREATE TABLE IF NOT EXISTS data_sources_nodes (
id BIGSERIAL PRIMARY KEY,
data_source BIGINT NOT NULL,
created BIGINT NOT NULL,
data_source BIGINT NOT NULL,
timestamp BIGINT NOT NULL,
node_id TEXT NOT NULL,
title TEXT NOT NULL,
mimeType TEXT NOT NULL,
mime_type TEXT NOT NULL,
parents TEXT[] NOT NULL,
document BIGINT,
table BIGINT,
Expand Down

0 comments on commit 9f83d58

Please sign in to comment.