Revert "adding directory table to sql scripts"
This reverts commit a7e0ef30fa8a061920c22e4cda6e6e92e83b7a92.
This commit is contained in:
committed by
Ezequiel Bergamaschi
parent
f4fb008f1b
commit
2aa68c3d4b
@@ -30,19 +30,10 @@ CREATE TABLE MINDMAP (
|
||||
edition_date TIMESTAMP,
|
||||
creator_id INTEGER NOT NULL,
|
||||
tags VARCHAR(1014),
|
||||
last_editor_id INTEGER NOT NULL,
|
||||
directory_id INTEGER NOT NULL--,
|
||||
last_editor_id INTEGER NOT NULL --,
|
||||
--FOREIGN KEY(creator_id) REFERENCES "USER"(colaborator_id) ON DELETE CASCADE ON UPDATE NO ACTION
|
||||
);
|
||||
|
||||
CREATE TABLE DIRECTORY (
|
||||
id SERIAL NOT NULL PRIMARY KEY,
|
||||
title VARCHAR(255) NOT NULL,
|
||||
description VARCHAR(255) NOT NULL,
|
||||
creator_id INTEGER NOT NULL,
|
||||
--FOREIGN KEY(creator_id) REFERENCES "USER"(colaborator_id) ON DELETE CASCADE ON UPDATE NO ACTION
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE MINDMAP_HISTORY
|
||||
(id SERIAL NOT NULL PRIMARY KEY,
|
||||
|
Reference in New Issue
Block a user