X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=README.1.5.0pre7;h=04a323ca0e6b19451aace05351045af6a3b3679b;hb=902e98b8b1dd2fd4ba76e5f8b3d1d20796d65a69;hp=074f3a5bf42c0c91fbac02b044da18701efbd94a;hpb=48ba2845d0119c56971d5b724661aa37e73b49dd;p=freeside.git diff --git a/README.1.5.0pre7 b/README.1.5.0pre7 index 074f3a5bf..04a323ca0 100644 --- a/README.1.5.0pre7 +++ b/README.1.5.0pre7 @@ -31,7 +31,42 @@ CREATE TABLE rate_prefix ( CREATE INDEX rate_prefix1 ON rate_prefix ( countrycode ); CREATE INDEX rate_prefix2 ON rate_prefix ( regionnum ); +ALTER TABLE part_pkg ADD promo_code varchar(80) NULL; +ALTER TABLE h_part_pkg ADD promo_code varchar(80) NULL; +CREATE INDEX part_pkg2 ON part_pkg ( promo_code ); +CREATE INDEX h_part_pkg2 ON h_part_pkg ( promo_code ); + +Installs w/integrated RT: + CREATE SEQUENCE attributes_id_seq; + + CREATE TABLE Attributes ( + id INTEGER DEFAULT nextval('attributes_id_seq'), + Name varchar(255) NOT NULL , + Description varchar(255) NULL , + Content text, + ContentType varchar(16), + ObjectType varchar(64), + ObjectId integer, -- foreign key to anything + Creator integer NOT NULL DEFAULT 0 , + Created TIMESTAMP NULL , + LastUpdatedBy integer NOT NULL DEFAULT 0 , + LastUpdated TIMESTAMP NULL , + PRIMARY KEY (id) + + ); + + CREATE INDEX Attributes1 on Attributes(Name); + CREATE INDEX Attributes2 on Attributes(ObjectType, ObjectId); + + dbdef-create username create-history-tables username rate rate_detail rate_region rate_prefix dbdef-create username + +afterwords (for installs w/integrated RT): +make configure-rt +make deploy +/opt/rt3/sbin/rt-setup-database --action insert --datadir etc/upgrade/3.1.15 +/opt/rt3/sbin/rt-setup-database --action insert --datadir etc/upgrade/3.1.17 +