Skip to content

Commit

Permalink
refactor(DB): CH downgrade script
Browse files Browse the repository at this point in the history
  • Loading branch information
tahayk committed May 31, 2024
1 parent 8c2bc77 commit 3e61002
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ee/scripts/schema/db/rollback_dbs/clickhouse/1.18.0/1.18.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CREATE OR REPLACE FUNCTION openreplay_version AS() -> 'v1.17.0-ee';

ALTER TABLE experimental.events
MODIFY COLUMN url_path MATERIALIZED lower(pathFull(url));

ALTER TABLE experimental.resources
MODIFY COLUMN url_path MATERIALIZED lower(pathFull(url));

ALTER TABLE experimental.ios_events
MODIFY COLUMN url_path MATERIALIZED lower(pathFull(url));

0 comments on commit 3e61002

Please sign in to comment.