feat: completed db schema
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user