feat: completed db schema
This commit is contained in:
@@ -4,6 +4,7 @@ CREATE TABLE entities (
|
|||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE facts (
|
CREATE TABLE facts (
|
||||||
|
taxonomy VARCHAR(255), -- Taxonomy of the fact
|
||||||
fact VARCHAR(255) PRIMARY KEY, -- Label of the fact
|
fact VARCHAR(255) PRIMARY KEY, -- Label of the fact
|
||||||
label VARCHAR(255), -- Label of the fact
|
label VARCHAR(255), -- Label of the fact
|
||||||
description TEXT, -- Description of the fact
|
description TEXT, -- Description of the fact
|
||||||
@@ -13,6 +14,7 @@ CREATE TABLE facts (
|
|||||||
CREATE TABLE data (
|
CREATE TABLE data (
|
||||||
cik INT, -- CIK of the company
|
cik INT, -- CIK of the company
|
||||||
fact VARCHAR(255),
|
fact VARCHAR(255),
|
||||||
|
start DATE, -- Start date of the fact
|
||||||
end DATE,
|
end DATE,
|
||||||
val INT,
|
val INT,
|
||||||
accn VARCHAR(255),
|
accn VARCHAR(255),
|
||||||
|
|||||||
Reference in New Issue
Block a user