Partial support for locale in spanish.
This commit is contained in:
@@ -13,6 +13,7 @@ password varchar(255) NOT NULL,
|
||||
activationCode BIGINT NOT NULL,
|
||||
activation_date DATE,
|
||||
allowSendEmail CHAR(1) NOT NULL,
|
||||
locale varchar(5),
|
||||
FOREIGN KEY(colaborator_id) REFERENCES COLLABORATOR(id)
|
||||
);
|
||||
|
||||
|
@@ -14,6 +14,7 @@ password varchar(255) CHARACTER SET utf8 NOT NULL,
|
||||
activationCode BIGINT(20) NOT NULL,
|
||||
activation_date date,
|
||||
allowSendEmail char(1) CHARACTER SET utf8 NOT NULL default 0,
|
||||
locale varchar(5),
|
||||
FOREIGN KEY(colaborator_id) REFERENCES COLLABORATOR(id) ON DELETE CASCADE ON UPDATE NO ACTION
|
||||
) CHARACTER SET utf8 ;
|
||||
|
||||
|
@@ -31,6 +31,8 @@ ALTER TABLE ACCESS_AUDITORY
|
||||
, ADD INDEX `user_id` () ;
|
||||
|
||||
|
||||
ALTER TABLE `wisemapping`.`user` ADD COLUMN `locale` VARCHAR(5) NULL AFTER `allowSendEmail` ;
|
||||
|
||||
# INSERT INTO `wisemapping`.`collaborator` (`id`, `email`, `creation_date`) VALUES (8081, 'fake@wisemapping.com', '2007-10-09');
|
||||
# DELETE FROM `wisemapping`.`USER` where activation_date is null;
|
||||
# DROP TABLE FEEDBACK;
|
||||
|
Reference in New Issue
Block a user