| | |
| | | INSERT INTO component (basepacket_id, basecomponent_id, min_quantity, max_quantity, default_quantity, increment_quantity, include_quantity, admin_only, article_number) |
| | | SELECT basepacket_id, basecomponent_id, 0, 4, 0, 1, 0, false, 103 FROM basepacket, basecomponent WHERE basepacket_code='PAC/DW' AND basecomponent_code='DAEMON'; |
| | | INSERT INTO component (basepacket_id, basecomponent_id, min_quantity, max_quantity, default_quantity, increment_quantity, include_quantity, admin_only, article_number) |
| | | SELECT basepacket_id, basecomponent_id, 0, 0, 0, 1, 0, false, 203 FROM basepacket, basecomponent WHERE basepacket_code='PAC/SW' AND basecomponent_code='DAEMON'; |
| | | INSERT INTO component (basepacket_id, basecomponent_id, min_quantity, max_quantity, default_quantity, increment_quantity, include_quantity, admin_only, article_number) |
| | | SELECT basepacket_id, basecomponent_id, 0, 4, 0, 1, 0, false, 303 FROM basepacket, basecomponent WHERE basepacket_code='PAC/WEB' AND basecomponent_code='DAEMON'; |
| | | INSERT INTO component (basepacket_id, basecomponent_id, min_quantity, max_quantity, default_quantity, increment_quantity, include_quantity, admin_only, article_number) |
| | | SELECT basepacket_id, basecomponent_id, 0, 1, 1, 1, 1, false, 104 FROM basepacket, basecomponent WHERE basepacket_code='PAC/DW' AND basecomponent_code='MIRROR'; |
| | |
| | | -- |
| | | -- table: packet |
| | | -- |
| | | INSERT INTO packet (packet_name, bp_id, hive_id, created, cur_inet_addr_id, free) |
| | | SELECT 'hsh00', business_partner.bp_id, hive.hive_id, current_date, inet_addr.inet_addr_id, true FROM business_partner, hive, inet_addr |
| | | WHERE hive_name='h99' AND inet_addr = inet '176.9.242.72' AND member_id = 10000; |
| | | INSERT INTO packet (packet_name, bp_id, hive_id, created, cur_inet_addr_id, free) |
| | | SELECT 'hsh01', business_partner.bp_id, hive.hive_id, current_date, inet_addr.inet_addr_id, true FROM business_partner, hive, inet_addr |
| | | WHERE hive_name='h99' AND inet_addr = inet '176.9.242.73' AND member_id = 10000; |
| | | INSERT INTO packet (packet_name, bp_id, hive_id, created, cur_inet_addr_id, free, basepacket_id) |
| | | SELECT 'hsh00', business_partner.bp_id, hive.hive_id, current_date, inet_addr.inet_addr_id, true, basepacket.basepacket_id |
| | | FROM business_partner, hive, inet_addr, basepacket |
| | | WHERE hive_name='h99' AND inet_addr = inet '176.9.242.72' AND member_id = 10000 AND basepacket.basepacket_code='PAC/DW'; |
| | | INSERT INTO packet (packet_name, bp_id, hive_id, created, cur_inet_addr_id, free, basepacket_id) |
| | | SELECT 'hsh01', business_partner.bp_id, hive.hive_id, current_date, inet_addr.inet_addr_id, true, basepacket.basepacket_id |
| | | FROM business_partner, hive, inet_addr, basepacket |
| | | WHERE hive_name='h99' AND inet_addr = inet '176.9.242.73' AND member_id = 10000 AND basepacket.basepacket_code='PAC/DW'; |
| | | |
| | | -- |
| | | -- table: packet_component |
| | | -- |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 1, packet.packet_id, 2, current_date FROM packet |
| | | INSERT INTO packet_component (basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, packet.packet_id, 2, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh00'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 2, packet.packet_id, 128, current_date FROM packet |
| | | INSERT INTO packet_component (basecomponent_id, packet_id, quantity, created) |
| | | SELECT 2, packet.packet_id, 128, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh00'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 3, packet.packet_id, 1, current_date FROM packet |
| | | INSERT INTO packet_component (basecomponent_id, packet_id, quantity, created) |
| | | SELECT 3, packet.packet_id, 1, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh00'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 4, packet.packet_id, 1, current_date FROM packet |
| | | INSERT INTO packet_component (basecomponent_id, packet_id, quantity, created) |
| | | SELECT 4, packet.packet_id, 1, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh00'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 5, packet.packet_id, 1, current_date FROM packet |
| | | INSERT INTO packet_component (basecomponent_id, packet_id, quantity, created) |
| | | SELECT 5, packet.packet_id, 1, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh00'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 1, packet.packet_id, 2, current_date FROM packet |
| | | INSERT INTO packet_component (basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, packet.packet_id, 2, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh01'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 2, packet.packet_id, 128, current_date FROM packet |
| | | INSERT INTO packet_component (basecomponent_id, packet_id, quantity, created) |
| | | SELECT 2, packet.packet_id, 128, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh01'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 3, packet.packet_id, 1, current_date FROM packet |
| | | INSERT INTO packet_component (basecomponent_id, packet_id, quantity, created) |
| | | SELECT 3, packet.packet_id, 1, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh01'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 4, packet.packet_id, 1, current_date FROM packet |
| | | INSERT INTO packet_component (basecomponent_id, packet_id, quantity, created) |
| | | SELECT 4, packet.packet_id, 1, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh01'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 5, packet.packet_id, 1, current_date FROM packet |
| | | INSERT INTO packet_component (basecomponent_id, packet_id, quantity, created) |
| | | SELECT 5, packet.packet_id, 1, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh01'; |
| | | |
| | | -- |
| | |
| | | WHERE packet_name='hsh01'; |
| | | |
| | | -- |
| | | -- table: domain |
| | | -- |
| | | INSERT INTO domain (domain_name, domain_since, domain_dns_master, domain_owner) |
| | | SELECT 'hostsharing.net', current_date, 'dns.hostsharing.net', unixuser_id FROM unixuser |
| | | WHERE unixuser.name='hsh00'; |
| | | |
| | | -- |
| | | -- table: domain_option |
| | | -- |
| | | INSERT INTO domain_option (domain_option_name) |