diff options
-rw-r--r-- | h-source/MySQL_changelog/419_to_420_update_sql.sql | 40 | ||||
-rw-r--r-- | h-source/tables.sql | 47 |
2 files changed, 65 insertions, 22 deletions
diff --git a/h-source/MySQL_changelog/419_to_420_update_sql.sql b/h-source/MySQL_changelog/419_to_420_update_sql.sql new file mode 100644 index 0000000..458361e --- /dev/null +++ b/h-source/MySQL_changelog/419_to_420_update_sql.sql @@ -0,0 +1,40 @@ +-- Apply these queries in order to update your database from revision 419 to revision 420 + +drop table distros; + +create table distros ( + id_distro INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, + creation_date timestamp default CURRENT_TIMESTAMP, + clean_name varchar(200) CHARACTER SET utf8 not null, + full_name varchar(200) CHARACTER SET utf8 not null, + id_order INT UNSIGNED NOT NULL +)engine=innodb; + +insert into distros (clean_name, full_name, id_order) values ('blag_90001', 'BLAG 90001', 1); +insert into distros (clean_name, full_name, id_order) values ('blag_120000', 'BLAG 120000', 2); +insert into distros (clean_name, full_name, id_order) values ('blag_140000', 'BLAG 1400000', 3); +insert into distros (clean_name, full_name, id_order) values ('debian_6_0', 'Debian GNU/Linux 6.0 squeeze', 4); +insert into distros (clean_name, full_name, id_order) values ('debian_7_0', 'Debian GNU/Linux 7.0 wheezy', 5); +insert into distros (clean_name, full_name, id_order) values ('debian_7_5', 'Debian GNU/Linux 7.5 wheezy', 6); +insert into distros (clean_name, full_name, id_order) values ('dragora_1_1', 'Dragora 1.1', 7); +insert into distros (clean_name, full_name, id_order) values ('dragora_2_0', 'Dragora 2.0 Ardi', 8); +insert into distros (clean_name, full_name, id_order) values ('dragora_2_2', 'Dragora 2.2 Rafaela', 9); +insert into distros (clean_name, full_name, id_order) values ('dynebolic_2_5_2', 'Dyne:bolic 2.5.2 DHORUBA', 10); +insert into distros (clean_name, full_name, id_order) values ('dynebolic_3_0_X', 'Dyne:III 3.0.X MUNIR', 11); +insert into distros (clean_name, full_name, id_order) values ('gnewsense_2_3', 'gNewSense 2.3 Deltah', 12); +insert into distros (clean_name, full_name, id_order) values ('gnewsense_3_0', 'gNewSense 3.0 Metad (beta)', 13); +insert into distros (clean_name, full_name, id_order) values ('gnewsense_3_0_parkes', 'gNewSense 3.0 Parkes', 14); +insert into distros (clean_name, full_name, id_order) values ('musix_2_0', 'Musix GNU+Linux 2.0 R0', 15); +insert into distros (clean_name, full_name, id_order) values ('parabola', 'Parabola GNU/Linux', 16); +insert into distros (clean_name, full_name, id_order) values ('trisquel_3_5', 'Trisquel 3.5 Awen', 17); +insert into distros (clean_name, full_name, id_order) values ('trisquel_4_0', 'Trisquel 4.0 Taranis', 18); +insert into distros (clean_name, full_name, id_order) values ('trisquel_4_5', 'Trisquel 4.5 Slaine', 19); +insert into distros (clean_name, full_name, id_order) values ('trisquel_5_0', 'Trisquel 5.0 Dagda', 20); +insert into distros (clean_name, full_name, id_order) values ('trisquel_5_5', 'Trisquel 5.5 Brigantia', 21); +insert into distros (clean_name, full_name, id_order) values ('trisquel_6_0', 'Trisquel 6.0 Toutatis', 22); +insert into distros (clean_name, full_name, id_order) values ('ututo_xs_2009', 'UTUTO XS 2009', 23); +insert into distros (clean_name, full_name, id_order) values ('ututo_xs_2010', 'UTUTO XS 2010', 24); +insert into distros (clean_name, full_name, id_order) values ('ututo_xs_2012_04', 'UTUTO XS 2012.04', 25); +insert into distros (clean_name, full_name, id_order) values ('venenux_0_8', 'VENENUX 0.8', 26); +insert into distros (clean_name, full_name, id_order) values ('venenux_0_8_2', 'VENENUX-EC 0.8.2', 27); +insert into distros (clean_name, full_name, id_order) values ('venenux_0_9', 'VENENUX 0.9', 28); diff --git a/h-source/tables.sql b/h-source/tables.sql index 08e2b10..ac83152 100644 --- a/h-source/tables.sql +++ b/h-source/tables.sql @@ -565,28 +565,31 @@ create table distros ( insert into distros (clean_name, full_name, id_order) values ('blag_90001', 'BLAG 90001', 1); insert into distros (clean_name, full_name, id_order) values ('blag_120000', 'BLAG 120000', 2); insert into distros (clean_name, full_name, id_order) values ('blag_140000', 'BLAG 1400000', 3); -insert into distros (clean_name, full_name, id_order) values ('dragora_1_1', 'Dragora 1.1', 4); -insert into distros (clean_name, full_name, id_order) values ('dragora_2_0', 'Dragora 2.0 Ardi', 5); -insert into distros (clean_name, full_name, id_order) values ('dragora_2_2', 'Dragora 2.2 Rafaela', 6); -insert into distros (clean_name, full_name, id_order) values ('dynebolic_2_5_2', 'Dyne:bolic 2.5.2 DHORUBA', 7); -insert into distros (clean_name, full_name, id_order) values ('dynebolic_3_0_X', 'Dyne:III 3.0.X MUNIR', 8); -insert into distros (clean_name, full_name, id_order) values ('gnewsense_2_3', 'gNewSense 2.3 Deltah', 9); -insert into distros (clean_name, full_name, id_order) values ('gnewsense_3_0', 'gNewSense 3.0 Metad (beta)', 10); -insert into distros (clean_name, full_name, id_order) values ('gnewsense_3_0_parkes', 'gNewSense 3.0 Parkes', 11); -insert into distros (clean_name, full_name, id_order) values ('musix_2_0', 'Musix GNU+Linux 2.0 R0', 12); -insert into distros (clean_name, full_name, id_order) values ('parabola', 'Parabola GNU/Linux', 13); -insert into distros (clean_name, full_name, id_order) values ('trisquel_3_5', 'Trisquel 3.5 Awen', 14); -insert into distros (clean_name, full_name, id_order) values ('trisquel_4_0', 'Trisquel 4.0 Taranis', 15); -insert into distros (clean_name, full_name, id_order) values ('trisquel_4_5', 'Trisquel 4.5 Slaine', 16); -insert into distros (clean_name, full_name, id_order) values ('trisquel_5_0', 'Trisquel 5.0 Dagda', 17); -insert into distros (clean_name, full_name, id_order) values ('trisquel_5_5', 'Trisquel 5.5 Brigantia', 18); -insert into distros (clean_name, full_name, id_order) values ('trisquel_6_0', 'Trisquel 6.0 Toutatis', 19); -insert into distros (clean_name, full_name, id_order) values ('ututo_xs_2009', 'UTUTO XS 2009', 20); -insert into distros (clean_name, full_name, id_order) values ('ututo_xs_2010', 'UTUTO XS 2010', 21); -insert into distros (clean_name, full_name, id_order) values ('ututo_xs_2012_04', 'UTUTO XS 2012.04', 22); -insert into distros (clean_name, full_name, id_order) values ('venenux_0_8', 'VENENUX 0.8', 23); -insert into distros (clean_name, full_name, id_order) values ('venenux_0_8_2', 'VENENUX-EC 0.8.2', 24); -insert into distros (clean_name, full_name, id_order) values ('venenux_0_9', 'VENENUX 0.9', 25); +insert into distros (clean_name, full_name, id_order) values ('debian_6_0', 'Debian GNU/Linux 6.0 squeeze', 4); +insert into distros (clean_name, full_name, id_order) values ('debian_7_0', 'Debian GNU/Linux 7.0 wheezy', 5); +insert into distros (clean_name, full_name, id_order) values ('debian_7_5', 'Debian GNU/Linux 7.5 wheezy', 6); +insert into distros (clean_name, full_name, id_order) values ('dragora_1_1', 'Dragora 1.1', 7); +insert into distros (clean_name, full_name, id_order) values ('dragora_2_0', 'Dragora 2.0 Ardi', 8); +insert into distros (clean_name, full_name, id_order) values ('dragora_2_2', 'Dragora 2.2 Rafaela', 9); +insert into distros (clean_name, full_name, id_order) values ('dynebolic_2_5_2', 'Dyne:bolic 2.5.2 DHORUBA', 10); +insert into distros (clean_name, full_name, id_order) values ('dynebolic_3_0_X', 'Dyne:III 3.0.X MUNIR', 11); +insert into distros (clean_name, full_name, id_order) values ('gnewsense_2_3', 'gNewSense 2.3 Deltah', 12); +insert into distros (clean_name, full_name, id_order) values ('gnewsense_3_0', 'gNewSense 3.0 Metad (beta)', 13); +insert into distros (clean_name, full_name, id_order) values ('gnewsense_3_0_parkes', 'gNewSense 3.0 Parkes', 14); +insert into distros (clean_name, full_name, id_order) values ('musix_2_0', 'Musix GNU+Linux 2.0 R0', 15); +insert into distros (clean_name, full_name, id_order) values ('parabola', 'Parabola GNU/Linux', 16); +insert into distros (clean_name, full_name, id_order) values ('trisquel_3_5', 'Trisquel 3.5 Awen', 17); +insert into distros (clean_name, full_name, id_order) values ('trisquel_4_0', 'Trisquel 4.0 Taranis', 18); +insert into distros (clean_name, full_name, id_order) values ('trisquel_4_5', 'Trisquel 4.5 Slaine', 19); +insert into distros (clean_name, full_name, id_order) values ('trisquel_5_0', 'Trisquel 5.0 Dagda', 20); +insert into distros (clean_name, full_name, id_order) values ('trisquel_5_5', 'Trisquel 5.5 Brigantia', 21); +insert into distros (clean_name, full_name, id_order) values ('trisquel_6_0', 'Trisquel 6.0 Toutatis', 22); +insert into distros (clean_name, full_name, id_order) values ('ututo_xs_2009', 'UTUTO XS 2009', 23); +insert into distros (clean_name, full_name, id_order) values ('ututo_xs_2010', 'UTUTO XS 2010', 24); +insert into distros (clean_name, full_name, id_order) values ('ututo_xs_2012_04', 'UTUTO XS 2012.04', 25); +insert into distros (clean_name, full_name, id_order) values ('venenux_0_8', 'VENENUX 0.8', 26); +insert into distros (clean_name, full_name, id_order) values ('venenux_0_8_2', 'VENENUX-EC 0.8.2', 27); +insert into distros (clean_name, full_name, id_order) values ('venenux_0_9', 'VENENUX 0.9', 28); insert into reggroups (name) values ('manager'); insert into reggroups (name) values ('admin'); |