Skip to content
Snippets Groups Projects
Commit b8afaae8 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

- Fixed typo in column name during upgrade

- temporary eliminated DROP TABLE hive_post_tags until staging tests will finish.
parent dbf4189a
No related branches found
No related tags found
2 merge requests!456Release candidate v1 24,!405fix for drop hive_post_tags without assign tags to post during upgrades
This commit is part of merge request !405. Comments created here will be created in the context of that merge request.
...@@ -228,7 +228,7 @@ IF NOT EXISTS(SELECT data_type FROM information_schema.columns ...@@ -228,7 +228,7 @@ IF NOT EXISTS(SELECT data_type FROM information_schema.columns
UPDATE hive_posts hp UPDATE hive_posts hp
SET SET
tags_id = tags.tags tags_ids = tags.tags
FROM FROM
( (
SELECT SELECT
...@@ -422,4 +422,4 @@ CREATE INDEX IF NOT EXISTS hive_posts_promoted_id_idx ON hive_posts (promoted, i ...@@ -422,4 +422,4 @@ CREATE INDEX IF NOT EXISTS hive_posts_promoted_id_idx ON hive_posts (promoted, i
CREATE INDEX IF NOT EXISTS hive_posts_tags_ids_idx ON hive_posts USING gin(tags_ids gin__int_ops); CREATE INDEX IF NOT EXISTS hive_posts_tags_ids_idx ON hive_posts USING gin(tags_ids gin__int_ops);
DROP TABLE IF EXISTS hive_post_tags; --DROP TABLE IF EXISTS hive_post_tags;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment