mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
pgSQL rejected the update lines in populate-status-xxx change sets
Error executing SQL update FEEDENTRYSTATUSES s SET s.entryUpdated = (select e.updated from FEEDENTRIES e where e.id = s.entry_id): ERROR: column "s" of relation "feedentrystatuses" does not exist
This commit is contained in:
@@ -291,11 +291,11 @@
|
||||
</changeSet>
|
||||
|
||||
<changeSet author="athou" id="populate-status-dates">
|
||||
<sql>update FEEDENTRYSTATUSES s SET s.entryUpdated = (select e.updated from FEEDENTRIES e where e.id = s.entry_id)</sql>
|
||||
<sql>update FEEDENTRYSTATUSES SET entryUpdated = (select e.updated from FEEDENTRIES e where e.id = FEEDENTRYSTATUSES.entry_id)</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet author="athou" id="populate-status-users">
|
||||
<sql>update FEEDENTRYSTATUSES s SET s.user_id = (select sub.user_id from FEEDSUBSCRIPTIONS sub where sub.id = s.subscription_id)</sql>
|
||||
<sql>update FEEDENTRYSTATUSES SET user_id = (select sub.user_id from FEEDSUBSCRIPTIONS sub where sub.id = FEEDENTRYSTATUSES.subscription_id)</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet author="athou" id="recreate-fes-index-2">
|
||||
|
||||
Reference in New Issue
Block a user