-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
929c9d6
commit c0d797c
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
/* (Beta) Export of data model Observation of the subject dataModel.SDMX for a PostgreSQL database. Pending translation of enumerations and multityped attributes */ | ||
CREATE TYPE confStatus_type AS ENUM ('F','N','C','D','S','A','O','T','G','M','E','P');CREATE TYPE obsStatus_type AS ENUM ('A','B','D','E','F','G','I','K','W','O','M','P','S','L','H','Q','J','N','U','V');CREATE TYPE Observation_type AS ENUM ('Observation'); | ||
CREATE TABLE Observation (address JSON, alternateName TEXT, areaServed TEXT, confStatus confStatus_type, dataProvider TEXT, dataset TEXT, dateCreated TIMESTAMP, dateModified TIMESTAMP, decimals NUMERIC, description TEXT, dimensions JSON, freq TEXT, identifier TEXT, name TEXT, obsStatus obsStatus_type, owner JSON, refArea TEXT, source TEXT, timePeriod TEXT, title TEXT, type Observation_type, unitMult NUMERIC); | ||
CREATE TABLE Observation (address JSON, alternateName TEXT, areaServed TEXT, confStatus confStatus_type, dataProvider TEXT, dataset TEXT, dateCreated TIMESTAMP, dateModified TIMESTAMP, decimals NUMERIC, description TEXT, dimensions JSON, freq TEXT, id TEXT PRIMARY KEY, identifier TEXT, location JSON, name TEXT, obsStatus obsStatus_type, obsValue JSON, owner JSON, refArea TEXT, seeAlso JSON, source TEXT, timePeriod TEXT, title TEXT, type Observation_type, unitMult NUMERIC); |