mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 22:27:55 +01:00
- Change MYSQL blob to mediumblob.
This commit is contained in:
parent
3672d2a8e2
commit
3fdbcb31d3
@ -35,6 +35,7 @@ import java.util.concurrent.ConcurrentHashMap;
|
||||
* 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...
|
||||
* Mensaje modal explicando que el mapa esta siendo editado, por eso no es posible edilarlo....
|
||||
* Internacionalizacion de los mensaje ...
|
||||
*/
|
||||
|
||||
class LockManagerImpl implements LockManager {
|
||||
|
@ -21,7 +21,7 @@ CREATE TABLE MINDMAP (
|
||||
id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
title 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,
|
||||
creation_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
|
||||
(id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
xml blob NOT NULL,
|
||||
xml mediumblob NOT NULL,
|
||||
mindmap_id INTEGER NOT NULL,
|
||||
creation_date datetime,
|
||||
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;
|
||||
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