Skip to content

Commit

Permalink
Merge pull request #63 from AliMatias/develop
Browse files Browse the repository at this point in the history
Prepare Release v0.7.0
  • Loading branch information
AliMatias authored Sep 7, 2019
2 parents 47aed02 + c73370c commit 65de665
Show file tree
Hide file tree
Showing 499 changed files with 420,484 additions and 8,479 deletions.
1 change: 1 addition & 0 deletions DB Scripts/DDL_create_tables_elementosTP.sql
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ CREATE TABLE "elementos_info_detalle" (
"modulo_young" TEXT,
"nombres_alotropicos" TEXT,
"energias_de_ionizacion" TEXT,
"distribucion_de_electrones_por_niveles" TEXT,

CONSTRAINT fk_elementos
FOREIGN KEY (numero_atomico)
Expand Down
27 changes: 27 additions & 0 deletions DB Scripts/DDL_create_tables_materiales.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

CREATE TABLE "materiales_lista"(
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
"nombre" TEXT NULL);


CREATE TABLE "materiales_mapping_element"(
"id_material" INTEGER,
"id_elemento" INTEGER NULL,
"id_molecula" INTEGER NULL,
"cantidad" INTEGER,

PRIMARY KEY (id_material, id_molecula, id_elemento, cantidad),

CONSTRAINT fk_material
FOREIGN KEY (id_material)
REFERENCES materiales_lista(id),

CONSTRAINT fk_moleculas
FOREIGN KEY (id_molecula)
REFERENCES moleculas_lista(id),

CONSTRAINT fk_elementos
FOREIGN KEY (id_elemento)
REFERENCES valida_elementos(id));


7 changes: 6 additions & 1 deletion DB Scripts/DDL_create_tables_moleculas.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ CREATE TABLE "moleculas_lista"(
"formula" TEXT NULL,
"formula_nomenclatura_sistematica" TEXT NULL,
"nomenclatura_stock" TEXT NULL,
"nomenclatura_tradicional" TEXT NULL);
"nomenclatura_tradicional" TEXT NULL,
"caracteristicas" TEXT NULL,
"propiedades" TEXT NULL,
"usos" TEXT NULL,
"clasificacion" TEXT NULL
);


CREATE TABLE "moleculas_mapping_element"(
Expand Down
472 changes: 236 additions & 236 deletions DB Scripts/INSERT_elementos_info_detalle.sql

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions DB Scripts/INSERT_materiales_lista.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
INSERT INTO materiales_lista (nombre) VALUES (
'Agua');
INSERT INTO materiales_lista (nombre) VALUES (
'Dióxido de Carbono');
INSERT INTO materiales_lista (nombre) VALUES (
'Ácido Clorhídrido');
INSERT INTO materiales_lista (nombre) VALUES (
'Cloroformo');
INSERT INTO materiales_lista (nombre) VALUES (
'Sal');
INSERT INTO materiales_lista (nombre) VALUES (
'Amoniaco');
INSERT INTO materiales_lista (nombre) VALUES (
'Monóxido de Carbono');
INSERT INTO materiales_lista (nombre) VALUES (
'Grafito');
INSERT INTO materiales_lista (nombre) VALUES (
'Diamante');
INSERT INTO materiales_lista (nombre) VALUES (
'Quarzo');
20 changes: 20 additions & 0 deletions DB Scripts/INSERT_materiales_mapping_element.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
INSERT INTO materiales_mapping_element (id_material,id_elemento,id_molecula,cantidad) VALUES (
1,0,1,2);
INSERT INTO materiales_mapping_element (id_material,id_elemento,id_molecula,cantidad) VALUES (
2,0,31,2);
INSERT INTO materiales_mapping_element (id_material,id_elemento,id_molecula,cantidad) VALUES (
3,0,22,2);
INSERT INTO materiales_mapping_element (id_material,id_elemento,id_molecula,cantidad) VALUES (
4,0,44,2);
INSERT INTO materiales_mapping_element (id_material,id_elemento,id_molecula,cantidad) VALUES (
5,0,27,2);
INSERT INTO materiales_mapping_element (id_material,id_elemento,id_molecula,cantidad) VALUES (
6,0,30,2);
INSERT INTO materiales_mapping_element (id_material,id_elemento,id_molecula,cantidad) VALUES (
7,0,2,2);
INSERT INTO materiales_mapping_element (id_material,id_elemento,id_molecula,cantidad) VALUES (
8,6,0,2);
INSERT INTO materiales_mapping_element (id_material,id_elemento,id_molecula,cantidad) VALUES (
9,6,0,2);
INSERT INTO materiales_mapping_element (id_material,id_elemento,id_molecula,cantidad) VALUES (
10,0,7,2);
5 changes: 0 additions & 5 deletions DB Scripts/INSERT_moleculas_element_posicion.sql

This file was deleted.

571 changes: 531 additions & 40 deletions DB Scripts/INSERT_moleculas_lista.sql

Large diffs are not rendered by default.

258 changes: 258 additions & 0 deletions DB Scripts/INSERT_moleculas_mapping_element.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,258 @@
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
1,1,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
1,8,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
2,6,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
2,8,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
3,19,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
3,1,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
4,29,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
4,8,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
5,26,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
5,8,3);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
6,26,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
6,8,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
7,14,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
7,8,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
8,19,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
8,1,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
9,28,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
9,1,3);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
10,29,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
10,1,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
11,82,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
11,1,4);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
12,26,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
12,16,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
13,26,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
13,16,3);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
14,79,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
14,17,3);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
15,79,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
15,35,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
16,25,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
16,16,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
17,7,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
17,8,3);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
18,7,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
18,8,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
19,7,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
19,8,5);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
20,1,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
20,53,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
20,8,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
21,1,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
22,1,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
22,17,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
23,1,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
23,9,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
24,19,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
24,17,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
25,7,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
26,7,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
26,8,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
27,11,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
27,17,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
28,14,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
28,8,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
29,6,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
29,1,4);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
30,7,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
30,1,3);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
31,6,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
31,8,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
32,1,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
32,16,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
33,16,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
33,8,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
34,11,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
34,8,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
34,1,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
35,19,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
35,8,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
35,1,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
36,26,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
36,8,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
36,1,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
37,26,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
37,8,3);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
37,1,3);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
38,29,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
38,8,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
38,1,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
39,29,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
39,8,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
39,1,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
40,20,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
40,8,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
40,1,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
41,1,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
41,17,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
41,8,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
42,14,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
42,1,4);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
43,1,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
43,7,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
43,8,3);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
44,6,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
44,1,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
44,17,3);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
45,16,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
45,8,3);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
46,6,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
46,17,4);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
47,8,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
47,1,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
48,8,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
48,6,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
48,1,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
49,6,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
49,1,3);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
50,6,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
50,1,5);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
51,6,3);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
51,1,8);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
52,6,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
52,1,4);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
53,8,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
54,7,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
54,8,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
55,13,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
55,8,3);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
55,1,3);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
56,17,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
56,8,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
56,1,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
57,35,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
57,8,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
57,1,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
58,53,1);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
58,8,2);
INSERT INTO moleculas_mapping_element (id_molecula,id_elemento,cantidad) VALUES (
58,1,1);
Loading

0 comments on commit 65de665

Please sign in to comment.