From ce0152bbbae5f7c336ffbd8cdb88f67cbf45da37 Mon Sep 17 00:00:00 2001 From: Leonard Excoffier <48970393+excoffierleonard@users.noreply.github.com> Date: Tue, 27 Aug 2024 19:13:07 -0400 Subject: [PATCH] feat: completed db schema --- db_schema.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db_schema.sql b/db_schema.sql index f75f795..30e0484 100644 --- a/db_schema.sql +++ b/db_schema.sql @@ -4,6 +4,7 @@ CREATE TABLE entities ( ); CREATE TABLE facts ( + taxonomy VARCHAR(255), -- Taxonomy of the fact fact VARCHAR(255) PRIMARY KEY, -- Label of the fact label VARCHAR(255), -- Label of the fact description TEXT, -- Description of the fact @@ -13,6 +14,7 @@ CREATE TABLE facts ( CREATE TABLE data ( cik INT, -- CIK of the company fact VARCHAR(255), + start DATE, -- Start date of the fact end DATE, val INT, accn VARCHAR(255),