fix test database
This commit is contained in:
parent
3406861f85
commit
bde85859a3
@ -118,11 +118,11 @@ INSERT INTO hive (hive_name, inet_addr_id, description)
|
|||||||
INSERT INTO packet (packet_name, bp_id, hive_id, created, cur_inet_addr_id, free, basepacket_id)
|
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
|
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
|
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';
|
WHERE hive_name='h99' AND inet_addr = inet '176.9.242.72' AND member_id = 10000 AND basepacket.basepacket_code='PAC/WEB';
|
||||||
INSERT INTO packet (packet_name, bp_id, hive_id, created, cur_inet_addr_id, free, basepacket_id)
|
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
|
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
|
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';
|
WHERE hive_name='h99' AND inet_addr = inet '176.9.242.73' AND member_id = 10000 AND basepacket.basepacket_code='PAC/WEB';
|
||||||
|
|
||||||
--
|
--
|
||||||
-- table: packet_component
|
-- table: packet_component
|
||||||
|
@ -23,7 +23,6 @@ DROP TABLE queue_task ;
|
|||||||
DROP SEQUENCE queue_task_id_seq ;
|
DROP SEQUENCE queue_task_id_seq ;
|
||||||
DROP TABLE unixuser CASCADE ;
|
DROP TABLE unixuser CASCADE ;
|
||||||
DROP SEQUENCE unixuser_unixuser_id_seq ;
|
DROP SEQUENCE unixuser_unixuser_id_seq ;
|
||||||
DROP TABLE pac_administration CASCADE ;
|
|
||||||
DROP TABLE packet_component ;
|
DROP TABLE packet_component ;
|
||||||
DROP TABLE component ;
|
DROP TABLE component ;
|
||||||
DROP TABLE basecomponent ;
|
DROP TABLE basecomponent ;
|
||||||
|
@ -318,7 +318,8 @@ CREATE TABLE domain (
|
|||||||
domain_since date,
|
domain_since date,
|
||||||
domain_dns_master character varying(64),
|
domain_dns_master character varying(64),
|
||||||
domain_id integer DEFAULT nextval('domain_domain_id_seq'::regclass) NOT NULL,
|
domain_id integer DEFAULT nextval('domain_domain_id_seq'::regclass) NOT NULL,
|
||||||
domain_owner integer NOT NULL
|
domain_owner integer NOT NULL,
|
||||||
|
valid_subdomain_names character varying(256) DEFAULT 'www' NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user