# Image\_url column is not present in topics table

**URL:** https://meta.discourse.org/t/image-url-column-is-not-present-in-topics-table/154989
**Category:** Support
**Created:** [June 16, 2020, 12:55pm UTC](https://meta.discourse.org/t/image-url-column-is-not-present-in-topics-table/154989 "2020-06-16T12:55:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Rahul\_Goswami](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rahul_goswami/32/139414_2.png) [@Rahul\_Goswami](https://meta.discourse.org/u/Rahul_Goswami)
#### Post date: [June 16, 2020, 12:55pm UTC](https://meta.discourse.org/t/image-url-column-is-not-present-in-topics-table/154989/1 "2020-06-16T12:55:41Z")

</div>

Discourse version: 2.5.0 beta 6, image\_url column is not present in the ‘topics’ table. Is it removed?

I checked 2.5.0 beta 5, the image\_url column is present in the topics table. can anyone help me with this?

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [June 16, 2020, 1:04pm UTC](https://meta.discourse.org/t/image-url-column-is-not-present-in-topics-table/154989/2 "2020-06-16T13:04:44Z")

</div>

It has been replaced with the image\_upload\_id column. You can then fetch a url from the uploads table.

---

<div class="post-metadata">

### Author: ![Rahul\_Goswami](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rahul_goswami/32/139414_2.png) [@Rahul\_Goswami](https://meta.discourse.org/u/Rahul_Goswami)
#### Post date: [June 16, 2020, 2:30pm UTC](https://meta.discourse.org/t/image-url-column-is-not-present-in-topics-table/154989/3 "2020-06-16T14:30:21Z")

</div>

image\_upload\_id is NULL is many records. what could be the reason?  
what is the use of the ‘topic\_links’ table ?

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [June 16, 2020, 7:31pm UTC](https://meta.discourse.org/t/image-url-column-is-not-present-in-topics-table/154989/4 "2020-06-16T19:31:03Z")

</div>

It will be null if there are no suitable images for the topic. Note that the images must now be uploads on the site, not images hotlinked from other sites.

The topic\_links table is unrelated. It tracks when people share links between topics on the site.
