# DuplicateColumn and multisite:migrate failed

**URL:** <https://meta.discourse.org/t/duplicatecolumn-and-multisite-migrate-failed/224480>\
**Category:** Bug\
**Created:** [April 16, 2022, 9:57am UTC](https://meta.discourse.org/t/duplicatecolumn-and-multisite-migrate-failed/224480 "2022-04-16T09:57:08Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)\
**Post date:** [April 18, 2022, 11:39pm UTC](https://meta.discourse.org/t/duplicatecolumn-and-multisite-migrate-failed/224480/5 "2022-04-18T23:39:32Z")

</div>

Makes sense, it seems like you never had run the post-migrate to remove the columns that were originally there, which I removed in [DEV: Re-add polymorphic bookmark columns by martin-brennan · Pull Request #16261 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/16261). I may just need to check for the columns before re-adding them here [discourse/db/migrate/20220322024216\_add\_bookmark\_polymorphic\_columns.rb at 037172beaae0743176eee653bd2cd4cd1ce5c7e9 · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/037172beaae0743176eee653bd2cd4cd1ce5c7e9/db/migrate/20220322024216_add_bookmark_polymorphic_columns.rb) , will make a commit for that.

---

_[View the full topic](https://meta.discourse.org/t/duplicatecolumn-and-multisite-migrate-failed/224480)._
