Skip to content

Commit

Permalink
xbrlDB SQLite fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Herm Fischer committed Feb 23, 2015
1 parent ee4e11d commit 3d5733e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arelle/plugin/xbrlDB/xbrlSemanticSQLiteDB.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ CREATE INDEX entity_index05 ON entity (legal_entity_number, file_number);

CREATE TABLE former_entity (
entity_id INTEGER NOT NULL,
date_changed DATE,
date_changed TEXT,
former_name TEXT
);
CREATE INDEX former_entity_index02 ON former_entity (entity_id);
Expand All @@ -83,9 +83,9 @@ CREATE TABLE filing (
form_type TEXT,
entity_id INTEGER NOT NULL,
reference_number TEXT, -- external code, e.g. CIK
accepted_timestamp DATE DEFAULT (datetime('now','localtime')),
accepted_timestamp TEXT,
is_most_current BOOLEAN DEFAULT false NOT NULL,
filing_date DATE NOT NULL,
filing_date TEXT NOT NULL,
creation_software TEXT,
authority_html_url TEXT,
entry_url TEXT
Expand Down

0 comments on commit 3d5733e

Please sign in to comment.