install:upgrade:3.2.x-to-3.3.0
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:upgrade:3.2.x-to-3.3.0 [2012/07/11 10:19] – [SQL Commands] klaus3000 | install:upgrade:3.2.x-to-3.3.0 [2014/09/23 09:21] (current) – klaus3000 | ||
---|---|---|---|
Line 73: | Line 73: | ||
You can use next SQL commands (made for MySQL) to update the structure of existing tables in v3.2.x for v3.3.0: | You can use next SQL commands (made for MySQL) to update the structure of existing tables in v3.2.x for v3.3.0: | ||
- | < | + | < |
-- PERMISSIONS module | -- PERMISSIONS module | ||
Line 202: | Line 202: | ||
=== PostgreSQL === | === PostgreSQL === | ||
- | This is the translation of the above MySQL script for PostgreSQL (should | + | This is the translation of the above MySQL script for PostgreSQL (Should |
- | < | + | < |
-- PERMISSIONS module | -- PERMISSIONS module | ||
ALTER TABLE address ALTER COLUMN ip_addr TYPE varchar(48); | ALTER TABLE address ALTER COLUMN ip_addr TYPE varchar(48); | ||
Line 284: | Line 284: | ||
); | ); | ||
+ | GRANT ALL PRIVILEGES ON TABLE domain_attrs TO openser; | ||
+ | GRANT SELECT ON TABLE domain_attrs TO openserro; | ||
+ | GRANT ALL PRIVILEGES ON TABLE domain_attrs_id_seq TO openser; | ||
+ | GRANT SELECT ON TABLE domain_attrs_id_seq TO openserro; | ||
+ | |||
-- PRESENCE modules | -- PRESENCE modules | ||
DELETE FROM active_watchers; | DELETE FROM active_watchers; | ||
Line 340: | Line 345: | ||
DELETE FROM version WHERE table_name=' | DELETE FROM version WHERE table_name=' | ||
INSERT INTO version (table_name, | INSERT INTO version (table_name, | ||
+ | DELETE FROM version WHERE table_name=' | ||
+ | INSERT INTO version (table_name, | ||
DELETE FROM version WHERE table_name=' | DELETE FROM version WHERE table_name=' | ||
INSERT INTO version (table_name, | INSERT INTO version (table_name, |
install/upgrade/3.2.x-to-3.3.0.1342001990.txt.gz · Last modified: 2012/07/11 10:19 by klaus3000