From 9290a52d2f9fac4d2d2aaf1e6e89bea305c9ddb5 Mon Sep 17 00:00:00 2001 From: Alberto Abella Date: Mon, 2 Oct 2023 11:09:12 +0200 Subject: [PATCH] test of SQL export --- Project/schema.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Project/schema.sql b/Project/schema.sql index 19bae5e..2e36190 100644 --- a/Project/schema.sql +++ b/Project/schema.sql @@ -1,3 +1,3 @@ -/* (Beta) Export of data model Project of the subject dataModel.SDG for a postgreSQL database. Pending translation of enumerations and multityped attributes */ -CREATE TYPE plan_type AS ENUM ('EDS', 'PPE');CREATE TYPE Project_type AS ENUM ('Project'); -CREATE TABLE Project (address json, alternateName text, areaServed text, axis text, challenges text, dataProvider text, dateCreated timestamp, dateModified timestamp, delegations json, delegationsInvolved json, description text, id text, interestGroups json, location json, modifications text, name text, observations text, owner json, plan plan_type, refDevice json, sdg text, seeAlso json, source text, strategicObjective text, type Project_type); \ No newline at end of file +/* (Beta) Export of data model Project of the subject dataModel.SDG for a PostgreSQL database. Pending translation of enumerations and multityped attributes */ +CREATE TYPE plan_type AS ENUM ('EDS','PPE');CREATE TYPE Project_type AS ENUM ('Project'); +CREATE TABLE Project (address JSON, alternateName TEXT, areaServed TEXT, axis TEXT, challenges TEXT, dataProvider TEXT, dateCreated TIMESTAMP, dateModified TIMESTAMP, delegations JSON, delegationsInvolved JSON, description TEXT, interestGroups JSON, modifications TEXT, name TEXT, observations TEXT, owner JSON, plan plan_type, refDevice JSON, sdg TEXT, source TEXT, strategicObjective TEXT, type Project_type); \ No newline at end of file