Mercurial > gemma
annotate schema/updates/1317/01.migrate_styles.sql @ 5082:c4ebb6ccc588 time-sliding
client: start a request for the last changed time on time slider
* initiate a refresh layers request when the time for the
finished request differs from the selected time on time slider
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Wed, 18 Mar 2020 14:11:44 +0100 |
parents | 4a9a1e323e11 |
children |
rev | line source |
---|---|
4918
4a9a1e323e11
First version of geo styles in ZIP files.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1 ALTER TABLE sys_admin.published_services ADD COLUMN bin_blob bytea; |
4a9a1e323e11
First version of geo styles in ZIP files.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2 UPDATE sys_admin.published_services SET bin_blob = style::text::bytea WHERE style is NOT NULL; |
4a9a1e323e11
First version of geo styles in ZIP files.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3 ALTER TABLE sys_admin.published_services DROP COLUMN style; |
4a9a1e323e11
First version of geo styles in ZIP files.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
4 ALTER TABLE sys_admin.published_services RENAME COLUMN bin_blob TO style; |