mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-25 23:44:54 +01:00
- Change MYSQL blob to mediumblob.
This commit is contained in:
parent
a179875fee
commit
04d43e62c7
@ -35,6 +35,7 @@ import java.util.concurrent.ConcurrentHashMap;
|
|||||||
* Refresh page should not lost the lock.
|
* Refresh page should not lost the lock.
|
||||||
* En caso que no sea posible grabar por que se perdio el lock, usar mensaje de error para explicar el por que...
|
* En caso que no sea posible grabar por que se perdio el lock, usar mensaje de error para explicar el por que...
|
||||||
* Mensaje modal explicando que el mapa esta siendo editado, por eso no es posible edilarlo....
|
* Mensaje modal explicando que el mapa esta siendo editado, por eso no es posible edilarlo....
|
||||||
|
* Internacionalizacion de los mensaje ...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class LockManagerImpl implements LockManager {
|
class LockManagerImpl implements LockManager {
|
||||||
|
@ -21,7 +21,7 @@ CREATE TABLE MINDMAP (
|
|||||||
id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||||
title varchar(255) CHARACTER SET utf8 NOT NULL,
|
title varchar(255) CHARACTER SET utf8 NOT NULL,
|
||||||
description varchar(255) CHARACTER SET utf8 NOT NULL,
|
description varchar(255) CHARACTER SET utf8 NOT NULL,
|
||||||
xml blob NOT NULL,
|
xml mediumblob NOT NULL,
|
||||||
public BOOL not null default 0,
|
public BOOL not null default 0,
|
||||||
creation_date datetime,
|
creation_date datetime,
|
||||||
edition_date datetime,
|
edition_date datetime,
|
||||||
@ -34,7 +34,7 @@ FOREIGN KEY(creator_id) REFERENCES USER(colaborator_id) ON DELETE CASCADE ON UPD
|
|||||||
|
|
||||||
CREATE TABLE MINDMAP_HISTORY
|
CREATE TABLE MINDMAP_HISTORY
|
||||||
(id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
(id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||||
xml blob NOT NULL,
|
xml mediumblob NOT NULL,
|
||||||
mindmap_id INTEGER NOT NULL,
|
mindmap_id INTEGER NOT NULL,
|
||||||
creation_date datetime,
|
creation_date datetime,
|
||||||
editor_id INTEGER NOT NULL,
|
editor_id INTEGER NOT NULL,
|
||||||
|
@ -45,3 +45,6 @@ INSERT INTO `COLLABORATOR` (`id`, `email`, `creation_date`) VALUES (8081, 'migfa
|
|||||||
DELETE FROM `USER` where activation_date is null;
|
DELETE FROM `USER` where activation_date is null;
|
||||||
DROP TABLE FEEDBACK;
|
DROP TABLE FEEDBACK;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE `MINDMAP` CHANGE COLUMN `XML` `XML` MEDIUMBLOB NULL DEFAULT NULL;
|
||||||
|
ALTER TABLE `MINDMAP_HISTORY` CHANGE COLUMN `XML` `XML` MEDIUMBLOB NULL DEFAULT NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user