Improve collaboration mail.

This commit is contained in:
Paulo Gustavo Veiga
2012-06-13 23:04:29 -03:00
parent c4d2acec7b
commit 226a7a0ff9
23 changed files with 260 additions and 137 deletions

View File

@@ -29,12 +29,11 @@ public class JsonTest {
@Test
void serialize() throws IOException {
ObjectMapper mapper = new ObjectMapper();
final RestMindmap value = new RestMindmap();
value.setTitle("titl");
value.setTitle("desck");
final String restMindmap = mapper.writeValueAsString(value);
System.out.println(restMindmap);
//
// final RestMindmap value = new RestMindmap();
// value.setTitle("titl");
// value.setTitle("desck");
// final String restMindmap = mapper.writeValueAsString(value);
}
@Test

View File

@@ -31,7 +31,6 @@ editor_properties varchar(512)
--FOREIGN KEY(creator_id) REFERENCES USER(colaborator_id)
);
CREATE TABLE MINDMAP_HISTORY
(id INTEGER NOT NULL IDENTITY,
xml LONGVARBINARY NOT NULL,
@@ -41,7 +40,7 @@ creator_user varchar(255));
CREATE TABLE COLLABORATION_PROPERTIES
(id INTEGER NOT NULL IDENTITY,
starred BOOLEAN NOT NULL,
starred BOOLEAN NOT NULL
);
CREATE TABLE COLLABORATION

View File

@@ -1,6 +1,6 @@
DROP TABLE TAG;
DROP TABLE COLLABORATION_PROPERTIES;
DROP TABLE COLLABORATION;
DROP TABLE COLLABORATION_PROPERTIES;
DROP TABLE MINDMAP_HISTORY;
DROP TABLE MINDMAP;
DROP TABLE USER;

View File

@@ -43,7 +43,7 @@ creator_user varchar(255) CHARACTER SET utf8
CREATE TABLE COLLABORATION_PROPERTIES(
id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
starred BOOL NOT NULL default 0,
starred BOOL NOT NULL default 0
) CHARACTER SET utf8;
CREATE TABLE COLLABORATION (

View File

@@ -1,6 +1,6 @@
DROP TABLE TAG;
DROP TABLE COLLABORATION_PROPERTIES;
DROP TABLE COLLABORATION;
DROP TABLE COLLABORATION_PROPERTIES;
DROP TABLE MINDMAP_HISTORY;
DROP TABLE MINDMAP;
DROP TABLE USER;