0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core
Rishabh Garg d8e65d46e9
Updated post model queries to raw knex queries (#11246)
no issue

We split `posts` table into 2 in v3 with a new `posts_meta` table. Since migrations always use the version of code which is being migrated to - in this case the Post model - which in v3 relies on the posts_meta table, `2.x` migrations relying on post model will fail as it doesn't exist in the expected state. This PR updates all 2.x migrations using `models.Post` to use knex queries directly to access database and perform operations.
2019-10-17 10:36:18 +05:30
..
client@897ea66a00 Updated Ghost-Admin to 2.37.0 2019-10-14 13:50:10 +01:00
frontend Added access property to entries for v3+ api 2019-10-16 14:15:52 +07:00
server Updated post model queries to raw knex queries (#11246) 2019-10-17 10:36:18 +05:30
shared/nql-map-key-values 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
test Fixed regression test for page property 2019-10-16 15:44:05 +07:00
index.js