Skip to content

Commit

Permalink
xbrlDB remove non null requirement from resource role of semantic
Browse files Browse the repository at this point in the history
database (role is optional and may be omitted)
  • Loading branch information
Herm Fischer authored and Herm Fischer committed Feb 23, 2015
1 parent 3d5733e commit 0842b24
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arelle/plugin/xbrlDB/xbrlSemanticMSSqlDB.sql
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ CREATE TABLE "resource" (
xml_id nvarchar(max),
xml_child_seq nvarchar(441),
qname nvarchar(450) NOT NULL, -- clark notation qname (do we need this?)
role nvarchar(450) NOT NULL,
role nvarchar(450),
value nvarchar(max),
xml_lang nvarchar(16)
);
Expand Down
2 changes: 1 addition & 1 deletion arelle/plugin/xbrlDB/xbrlSemanticOracleDB.sql
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ CREATE TABLE "resource" (
xml_id nclob,
xml_child_seq varchar2(512),
qname varchar2(1024) NOT NULL, -- clark notation qname (do we need this?)
role varchar2(1024) NOT NULL,
role varchar2(1024),
value nclob,
xml_lang varchar2(16),
PRIMARY KEY (resource_id)
Expand Down
2 changes: 1 addition & 1 deletion arelle/plugin/xbrlDB/xbrlSemanticPostgresDB.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ CREATE TABLE resource (
xml_id text,
xml_child_seq character varying(1024),
qname character varying(1024) NOT NULL, -- clark notation qname (do we need this?)
role character varying(1024) NOT NULL,
role character varying(1024),
value text,
xml_lang character varying(16),
PRIMARY KEY (resource_id)
Expand Down
2 changes: 1 addition & 1 deletion arelle/plugin/xbrlDB/xbrlSemanticSQLiteDB.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ CREATE TABLE resource (
xml_id TEXT,
xml_child_seq TEXT,
qname TEXT NOT NULL, -- clark notation qname (do we need this?)
role TEXT NOT NULL,
role TEXT,
value TEXT,
xml_lang TEXT
);
Expand Down

0 comments on commit 0842b24

Please sign in to comment.