-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
47 changed files
with
747 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99 changes: 99 additions & 0 deletions
99
sabi-database/src/main/resources/db/migration/version1_3_0/V1_3_0_2__i18nPlague.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (6, 'Stella marina Asterina', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (5, 'Alghe filamentose', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (4, 'Dinoflagellate', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (3, 'Vermi piatti', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (2, 'Alghe a bolla', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (1, 'Cianobatteri', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (6, 'Étoile de mer Asterina', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (5, 'Algues filamenteuses', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (4, 'Dinoflagellé', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (3, 'Vers plats', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (2, 'Algues-bulles', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (1, 'Cyanobactéries', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (6, 'Estrella de mar Asterina', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (5, 'Algas filamentosas', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (4, 'Dinoflagelados', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (3, 'Gusanos planos', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (2, 'Algas burbuja', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague (plague_id, common_name, language, created_on, lastmod_on, optlock) | ||
VALUES (1, 'Cianobacterias', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague_status (plague_status_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (1, 'Primera aparición', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague_status (plague_status_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (2, 'Se extiende', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague_status (plague_status_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (3, 'La expansión se estanca', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague_status (plague_status_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (4, 'Lento declive', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague_status (plague_status_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (5, 'Desaparición (fin de la plaga)', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague_status (plague_status_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (1, 'Première apparition', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague_status (plague_status_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (2, 'Se propage', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague_status (plague_status_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (3, 'Extension stagnante', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague_status (plague_status_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (4, 'Recule lentement', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague_status (plague_status_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (5, 'Disparaît (fin du fléau)', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague_status (plague_status_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (1, 'Prima comparsa', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague_status (plague_status_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (2, 'Si diffonde', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague_status (plague_status_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (3, 'L\'espansione ristagna', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague_status (plague_status_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (4, 'Lentamente diminuisce', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_plague_status (plague_status_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (5, 'Scomparsa (fine della peste)', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
124 changes: 124 additions & 0 deletions
124
sabi-database/src/main/resources/db/migration/version1_3_0/V1_3_0_3__i18nParameter.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
CREATE TABLE `localized_parameter` | ||
( | ||
`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, | ||
`parameter_id` INT UNSIGNED NOT NULL, | ||
`description` VARCHAR(80) NOT NULL, | ||
`language` VARCHAR(3) NOT NULL, | ||
`created_on` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
`lastmod_on` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
`optlock` INT UNSIGNED NOT NULL DEFAULT 0, | ||
PRIMARY KEY (`id`), | ||
UNIQUE KEY `business_key` (`parameter_id`, `language`), | ||
foreign key (parameter_id) references parameter(id) | ||
) | ||
ENGINE = InnoDB | ||
AUTO_INCREMENT = 1 | ||
DEFAULT CHARSET = utf8; | ||
|
||
ALTER TABLE parameter drop column description; | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (1, 'Karbonathärte', 'de', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (2, 'Temperatur', 'de', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (3, 'Magnesium', 'de', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (4, 'Calcium', 'de', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (5, 'PH', 'de', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (6, 'Phosphat', 'de', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (7, 'Salzgehalt', 'de', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (1, 'Carbonate hardness', 'en', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (2, 'temperature', 'en', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (3, 'magnesium', 'en', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (4, 'calcium', 'en', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (5, 'PH', 'en', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (6, 'phosphate', 'en', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (7, 'Salinity', 'en', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (2, 'temperatura', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (3, 'magnesio', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (4, 'calcio', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (5, 'PH', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (6, 'fosfato', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (7, 'Salinidad', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (1, 'Dureza del carbonato', 'es', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (1, 'Durezza del carbonato', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (2, 'temperatura', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (3, 'magnesio', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (4, 'calcio', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (5, 'PH', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (6, 'fosfato', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (7, 'Salinità', 'it', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (1, 'Dureté carbonatée', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (2, 'Température', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (3, 'Magnésium', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (4, 'Calcium', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (5, 'PH', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (6, 'Phosphate', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
||
INSERT INTO localized_parameter (parameter_id, description, language, created_on, lastmod_on, optlock) | ||
VALUES (7, 'Teneur en sel', 'fr', DEFAULT, DEFAULT, DEFAULT); | ||
|
Oops, something went wrong.